Skip to content
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

Firestore getDocument should have optional parameter as source(Cache, Server or Default) #82

Open
kshivang opened this issue Oct 13, 2019 · 0 comments

Comments

@kshivang
Copy link

This could be useful in scenario like implementing custom get strategy like, check in Cache first then check on server, which is opposite of default get method of firebase Firestore. Though they have optional parameter called source in there, documentRef.get(source: Source = Source.DEFAULT).

Same thing could be implemented with getDocument method of RxFirestore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant