-
Notifications
You must be signed in to change notification settings - Fork 572
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
Add IN and ARRAY_CONTAINS_ANY (not publicly exposed) #519
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few porting quibbles / nits, but mostly this looks great!
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/ValidationTest.java
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/ValidationTest.java
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/Query.java
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/RelationFilter.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/RelationFilter.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/test/java/com/google/firebase/firestore/remote/RemoteSerializerTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/test/java/com/google/firebase/firestore/remote/RemoteSerializerTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/QueryTest.java
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/RelationFilter.java
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated this to not use emulator tests so that Gil can port firebase/firebase-js-sdk#1894 on top of this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, have some more NaN edge cases to test :)
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few nits...
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/ValidationTest.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/main/java/com/google/firebase/firestore/core/Query.java
Outdated
Show resolved
Hide resolved
firebase-firestore/src/test/java/com/google/firebase/firestore/remote/RemoteSerializerTest.java
Show resolved
Hide resolved
firebase-firestore/src/test/java/com/google/firebase/firestore/remote/RemoteSerializerTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review and catching the typos -- I'll be sure to be more thorough next time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Thanks for cleaning up the serializer tests.
This LGTM but we can't check this in with the API publicly exposed, so if the plan is to check this in (which seems like a good idea!) then we'll need to hide them.
Porting over from Web SDK.
Pending adding support to run against Firestore Emulator.