Skip to content

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

@kshivang

Description

@kshivang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions