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

[Bug] Field type reference in QueryDocumentSnapshot is not an instance of DocumentReference #4125

mandalornl opened this issue Nov 26, 2020 · 1 comment · Fixed by #4136


Copy link

[REQUIRED] Describe your environment

  • Operating System version: Ubuntu 20.04
  • Browser version: Chrome 86
  • Firebase SDK version: ^8.1.0
  • Firebase Product: firestore

[REQUIRED] Describe the problem

When querying documents from a collection, the field type reference does not return an instance of DocumentReference anymore. Therefore calling e.g. get() will result in an is not a function error. Example code can be found in the link below.

Relevant Code:

Copy link

Thank you for reporting this issue. The stackblitz link was super helpful! At first glance, this definitely appears to be a regression in 8.1.0 (compared to 8.0.2). I'll do some investigation and reply back. Just a heads-up, since it's a long weekend in the US, I may not have a meaningful response until next week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

Successfully merging a pull request may close this issue.

4 participants