Skip to content

Don't check 'exclude_from_indexes' for empty lists. - #4915

Merged
tseaver merged 2 commits into
masterfrom
3152-datastore-empty_arrays
Feb 22, 2018
Merged

Don't check 'exclude_from_indexes' for empty lists.#4915
tseaver merged 2 commits into
masterfrom
3152-datastore-empty_arrays

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Closes#3152.

Adds a breaking unit test for the bug in the first commit, and fixes it in the second commit.

Supersedes PRs #3767 and #4778

@tseavertseaver added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: datastore Issues related to the Datastore API. labels Feb 22, 2018
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 22, 2018
@tseaver
tseaver merged commit d171166 into masterFeb 22, 2018
@tseaver
tseaver deleted the 3152-datastore-empty_arrays branch February 22, 2018 21:15
parthea pushed a commit that referenced this pull request Nov 24, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: datastoreIssues related to the Datastore API.cla: yesThis human has signed the Contributor License Agreement.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError: For an array_value, subvalues must either all be indexed or all excluded from indexes.

5 participants

@tseaver@lukesneeringer@theacodes@chemelnucfin@googlebot