-
Notifications
You must be signed in to change notification settings - Fork 893
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
Markduckworth/or queries 4274 #6896
Conversation
…ID of old style implicit flat conjunctions.
…in the Android implementation.
🦋 Changeset detectedLatest commit: 76de87e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
// the canonical ID for these two are the same. For example: | ||
// `col.whereEquals("a", 1).whereEquals("b", 2)` should have the same | ||
// canonical ID as `col.where(and(equals("a",1), equals("b",2)))`. | ||
return filter.filters.map(filter => canonifyFilter(filter)).join(','); |
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.
it's interesting that the canonical id of a==1 && b==1 is different strings in web and android.
In Android it'll be a==1b==1
. In the Web, it'll be a==1,b==1
. Nothing wrong with either one. I just checked target.ts
(canonifyTarget) to make sure this is correct.
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 had the same surprise. Tests caught it. Thanks for the thorough review!
Port of markduckworth/or-queries-4274
or()
andand()