-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 unchanged names to existence filter and watchFilters spec test runner #10862
Add unchanged names to existence filter and watchFilters spec test runner #10862
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.
We need to fix the proto passing and memory management issue in this PR. I haven't reviewed all of this PR but wanted to send the feedback now so you can have a chance to review prior to our meeting in an hour. The logic you want to achieve in this PR is a bit more difficult than it had appeared on the surface!
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.
Just one tiny comment!
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.
Ok, a few more comments!
#no-changelog
Ported from Web SDK: firebase/firebase-js-sdk#6839
unchangedNames
andbits
optional in protobloom_filter
toExistenceFilter
classunchangedNames
toExistenceFilter
doWatchFilter
to acceptNSDictionary
instead ofNSArray
doWatchFilter(watchFilter: SpecWatchFilter)
, the specWatchFilter input type changed from an array to object:doWatchFilter
change above(no bloom filter proto json values are included)