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

fix: Add warning message when passing single DocumentReference in cursor without orderBy clause #1883

Merged
merged 1 commit into from Aug 17, 2023

Conversation

milaGGL
Copy link
Contributor

@milaGGL milaGGL commented Aug 17, 2023

@milaGGL milaGGL requested review from a team as code owners August 17, 2023 18:59
@milaGGL milaGGL self-assigned this Aug 17, 2023
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Aug 17, 2023

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: firestore Issues related to the googleapis/nodejs-firestore API. labels Aug 17, 2023
@milaGGL milaGGL changed the title Add warning message when passing single DocumentReference in cursor without orderBy clause fix: Add warning message when passing single DocumentReference in cursor without orderBy clause Aug 17, 2023
@milaGGL milaGGL merged commit cc622fc into main Aug 17, 2023
16 of 17 checks passed
@milaGGL milaGGL deleted the mila/deprecate-DocumentReference-in-cursor branch August 17, 2023 19:44
`Warning: Passing DocumentReference into a cursor without orderBy clause is not an intended
behavior. Please use DocumentSnapshot or add an explicit orderBy on document key field.`
);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please apply this patch to the Node SDK as well.

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 googleapis/nodejs-firestore API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants