-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded entities cannot store string values larger than 1500 bytes #132
Comments
Hello, You are saying that when setting |
Unfortunately yes... It's really stupid, but that is what I understand from that discussion in the linked issue. |
Ok I will give it a try as soon as I can and let you know. |
Was there ever a fix for this? I have run into the same issue. |
…roperties of Array embedded The v4.2.0 of the Datastore client allows wildcard "*" to target all the properties of an embedded entity. The logic to define the Array of excludeFromIndexes has been updated to make use of it. fix #132
Hi, |
In Datastore, indexed string values cannot exceed 1500 bytes, however unindexed values can. When excluding an embedded entity from indexing, Datastore does exclude it and all its properties from indexing, however, you still have to explicitly pass through 'excludeFromIndexing' for the entity properties, otherwise you cannot store strings longer than 1500 bytes.
See this issue.
Currently in gstore-node, you can either exclude the embedded entity, or specific properties of the embedded entity, not both. This means if I exclude the entire embedded entity, none of its string properties can be longer than 1500 bytes. The alternative is to exclude all its properties, which is tedious.
The text was updated successfully, but these errors were encountered: