Skip to content
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

Firestore: fix delete conformance #6559

Merged
merged 36 commits into from
Nov 27, 2018
Merged

Firestore: fix delete conformance #6559

merged 36 commits into from
Nov 27, 2018

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Nov 17, 2018

Toward #6533

This is a checkpoint commit. Further work to refactor 'pbs_for_set_with_merge' and 'pbs_for_update' to follow.

@tseaver tseaver added do not merge Indicates a pull request not ready for merge, due to either quality or timing. api: firestore Issues related to the Firestore API. labels Nov 17, 2018
@tseaver tseaver requested a review from crwilcox as a code owner November 17, 2018 00:15
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 17, 2018
Performs depth-first walk of document, yielding (field_path, value) tuples.

Special cases handling for empty dict values.
Captures state like that currently returned by
'_helpers.process_server_timestamps', but in a clearer, more general
way.  Rebuilding 'pbs_for_*' atop this foundation to follow.
Use the shiny new 'ExtractDocumentTransforms' instead of
'process_server_timestamps'.
Use the shiny new 'ExtractDocumentTransforms' instead of
'process_server_timestamps'.
Use it in 'pbs_for_create' and 'pbs_for_set_no_merge'.
Use it in 'pbs_for_create' and 'pbs_for_set_no_merge'.
Use it in 'pbs_for_create' and 'pbs_for_set_no_merge'.
Removes cycle, need to pass client instance / class to 'pbs_for_update'.
In support of 'pbs_for_update'.

Raise if expansion of dotted paths results in a conflict.
…rue.

FBO tests/unit/testdata/update-badchar.textproto.
@tseaver tseaver removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 22, 2018
@tseaver tseaver changed the title [WIP] Firestore: fix delete conformance Firestore: fix delete conformance Nov 22, 2018
@tseaver
Copy link
Contributor Author

tseaver commented Nov 22, 2018

@crwilcox This PR is now ready for review: all 'set-del-' and 'update-del-' conformance tests are now passing.

@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 22, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 22, 2018
@tseaver
Copy link
Contributor Author

tseaver commented Nov 27, 2018

@mcdonc reviewed / approved these commits as part of #6651.

@tseaver tseaver merged commit b76d094 into googleapis:master Nov 27, 2018
@tseaver tseaver deleted the 6533-firestore-fix-delete-conformance branch November 27, 2018 20:27
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.

3 participants