Skip to content

Firestore: Expand dotted keys in mappings used as cursors.#8568

Merged
tseaver merged 7 commits intogoogleapis:masterfrom
pchauhan-qlogic:firestore_pagination_with_map_field_errors_4587
Aug 7, 2019
Merged

Firestore: Expand dotted keys in mappings used as cursors.#8568
tseaver merged 7 commits intogoogleapis:masterfrom
pchauhan-qlogic:firestore_pagination_with_map_field_errors_4587

Conversation

@pchauhan-qlogic
Copy link
Contributor

Fixes #7756

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 2, 2019
@tseaver tseaver added the api: firestore Issues related to the Firestore API. label Jul 3, 2019
@AVaksman AVaksman added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 4, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 4, 2019
Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual fix looks OK here (assuming that @BenWhitehead connfirms that we are supposed to handle this case). Please update the systest to exercise the "dotted-key-in-cursor" behavior, as per my gist.

@tseaver tseaver changed the title Firestore - pagination with map field errors 4587 Firestore: expand dotted keys in mappings used as cursors. Aug 1, 2019
@tseaver tseaver changed the title Firestore: expand dotted keys in mappings used as cursors. Firestore: Expand dotted keys in mappings used as cursors. Aug 1, 2019
@pchauhan-qlogic pchauhan-qlogic force-pushed the firestore_pagination_with_map_field_errors_4587 branch from 4b5cda4 to 386f330 Compare August 2, 2019 15:18
@tseaver
Copy link
Contributor

tseaver commented Aug 2, 2019

@pchauhan-qlogic This PR still needs conflicts resolved: please git rebase master and edit tests/system.py to fix them.

@pchauhan-qlogic pchauhan-qlogic force-pushed the firestore_pagination_with_map_field_errors_4587 branch from 386f330 to 6bb0ab7 Compare August 5, 2019 08:15
Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint fails on CI. Please run nox -r blacken and then nox -r lint to check that it passes before committing.

@tseaver tseaver merged commit 799c1e5 into googleapis:master Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the Firestore API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Firestore: Field path keys are not expanded for dicts used as cursors.

5 participants