-
Notifications
You must be signed in to change notification settings - Fork 934
Fix the cursor expanding result set bug #6166
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
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
# Conflicts: # packages/firestore/src/local/indexeddb_index_manager.ts
@@ -78,7 +78,7 @@ export function typeOrder(value: Value): TypeOrder { | |||
if (isServerTimestamp(value)) { | |||
return TypeOrder.ServerTimestampValue; | |||
} else if (isMaxValue(value)) { | |||
return TypeOrder.ArrayValue; | |||
return TypeOrder.ObjectValue; |
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.
should this be TypeOrder.MaxValue? Android reference
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.
Done.
); | ||
await verifyResults(testingQuery, 'coll/val1'); | ||
}); | ||
|
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.
can you also add another test (or just add to the existing test) for the other direction? e.g. c < 2 order by c DESC
with bound 2 inclusive.
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.
And that uncovers one more bug.
No description provided.