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

get action returns a DocumentSnapshot instead of QuerySnapshot #297

Open
bawahakim opened this issue Jul 16, 2020 · 0 comments
Open

get action returns a DocumentSnapshot instead of QuerySnapshot #297

bawahakim opened this issue Jul 16, 2020 · 0 comments

Comments

@bawahakim
Copy link
Contributor

What is the current behavior?

When using the get action, if you don't specify the doc property, the return type is a DocumentSnapshot.

What is the expected behavior?

It should return a QuerySnapshot : https://firebase.google.com/docs/reference/js/firebase.firestore.QuerySnapshot if the doc property is not specified.

Which version of redux-firestore are you using? What about other dependencies?

v0.13.0

Which environments/browsers are affected by this issue? Did this work in previous versions or setups?

Currently using React-Native, but it should be the same on other envs.

Minimal demo to reproduce issue (using codesandbox or similar)

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