-
Notifications
You must be signed in to change notification settings - Fork 938
snapshot listeners source from cache #7982
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
Merged
Merged
Changes from 33 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
ab6286d
add listen source, add integration tests
milaGGL 8d8b771
add spec tests
milaGGL 3ab04f4
Update sync_engine_impl.ts
milaGGL d334f75
Update API reports
milaGGL d1000a0
add spec tests for multi-client
milaGGL e278243
Merge branch 'master' into mila/snapshot-listener-source-from-cache
milaGGL 3859f12
format
milaGGL 8f9188d
flaky test
milaGGL ba33e81
format
milaGGL 83ab589
change getRemoteListeners to hasRemoteListeners
milaGGL bfee69c
add a test for document reference
milaGGL d8d3fc3
remove excessive tests
milaGGL cfed74d
Update snasphot_listener_source.test.ts
milaGGL 0a25598
rename test
milaGGL 6dc7abd
rename tests with "cache"
milaGGL edf3087
adjust the spec builder to not create unnecessary field
milaGGL 737c772
Merge branch 'master' into mila/snapshot-listener-source-from-cache
milaGGL f914d4b
add changeset
milaGGL cf4de20
move source identifier function into QueryListener
milaGGL 5164b31
resolve comments
milaGGL edd734e
remove unnecessary condition check
milaGGL 3383fce
use enum in event-manager
milaGGL fe46d8b
extract duplicated code, rename enums
milaGGL 232ae38
change the order of initializeViewAndComputeSnapshot and remoteStoreL…
milaGGL 40962f9
Update sync_engine_impl.ts
milaGGL a945668
resolve comments
milaGGL f35d483
Update snasphot_listener_source.test.ts
milaGGL d415d4d
remove .only
milaGGL c5c558d
resolve comments
milaGGL c969f23
Update event_manager.ts
milaGGL 533a99a
update change set
milaGGL d0a0f9c
Merge branch 'master' into mila/snapshot-listener-source-from-cache
milaGGL ec1f784
change ListenSource from Enum to union type
milaGGL 5fb1b8e
resolve comments
milaGGL 0172b64
format
milaGGL a340dd6
update test
milaGGL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@firebase/firestore': minor | ||
'firebase': minor | ||
--- | ||
Enable snapshot listener option to retrieve data from local cache only. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.