Skip to content

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

Closed
@mandalornl

Description

@mandalornl

[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:

https://stackblitz.com/edit/firebase-issue-sandbox-z9mwhw

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    close