-
Notifications
You must be signed in to change notification settings - Fork 1.5k
datastore: array property always has NoIndex false #7726
Copy link
Copy link
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Client
datastore
Go Environment
go version go1.20.2 darwin/arm64
Code
Entity's array property always has NoIndex false, even the data in datastore has excludeFromIndexes true for each array values.
from chrome devtool, the datastore api response is
"property1": {
"arrayValue": {
"values": [
{
"stringValue": "yo",
"excludeFromIndexes": true
}
]
}
}
but client.Get still fills dst with NoIndex false
Expected behavior
NoIndex should be true
fix for the issue #7674
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.