-
Notifications
You must be signed in to change notification settings - Fork 939
GetOptions for controlling offline behaviour #463
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 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
568f4f8
GetOptions for controlling offline behaviour.
rsgowman 56b4b91
[AUTOMATED]: Prettier Code Styling
rsgowman 3cb151d
review feedback
rsgowman ac63ead
Merge branch 'master' into rsgowman/get_options
rsgowman 2c2b4d8
Fixes resulting from merging master.
rsgowman 78610b0
Merge remote-tracking branch 'origin/master' into rsgowman/get_options
rsgowman e2b769a
Merge remote-tracking branch 'origin/master' into rsgowman/get_options
rsgowman a5f73fb
review feedback
rsgowman e32c840
Update changelog
rsgowman 5a4576f
review feedback
rsgowman a1eb31c
period after bracket
rsgowman e807f00
close all the parens!
rsgowman 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 |
---|---|---|
|
@@ -10,6 +10,10 @@ | |
`FirestoreSettings` to `true`. Note that the current behavior | ||
(`DocumentSnapshot`s returning JS Date objects) will be removed in a future | ||
release. `Timestamp` supports higher precision than JS Date. | ||
- [feature] Added ability to control whether DocumentReference.get() and | ||
Query.get() should fetch from server only, cache only, or attempt server and | ||
fall back to the cache (which was the only option previously, and is now the | ||
default.) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. super nit: period should go after paren, I think? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
# 0.3.6 | ||
- [fixed] Fixed a regression in the Firebase JS release 4.11.0 that could | ||
|
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.
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.
To make this maximally helpful (especially since there's generally no statement completion in JS and docs will probably not be updated immediately), I'd probably say:
... should fetch from server only (by passing
{ source: 'server' }
, cache only (by passing{ source: 'cache' }
), or attempt ...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.