这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug] Field type reference in DocumentSnapshot obtained in transaction is not an instance of DocumentReference #4226

@rulamon

Description

@rulamon

[REQUIRED] Describe your environment

  • Operating System version: Windows 10 Home 1909
  • Browser version: Chrome 87
  • Firebase SDK version: 8.1.2
  • Firebase Product: firestore

[REQUIRED] Describe the problem

When getting a document through a transaction (Transaction.get()) the field type reference does not does not return an instance of DocumentReference anymore. Similar to #4125 but with transactions instead of queries.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions