Skip to content

bug(query): get action does not currently update state #202

Open
@jaschaio

Description

I have noticed some inconsistencies between api calls. If I use store.firestore.setListener() the firestore.status.received, firestore.status.requested and firestore.status.timestamp values are populated.

If I use instead store.firestore.get() none of those fields is populated.

On the first sight I can't really see why. If the firestore.status state slice should be used for loading indicators, it should be consisten across all api calls that request data from firestore, no matter if I am just requesting it once or setting up a listener.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions