firebase / firebase/firebase-tools-ui

Document reference field value is not saved correctly when creating a document through Firestore emulator

Open
#554 5 comments 5 reactions 1 assignee Claimed by @christhompsongoogle View on GitHub
internal-bug-filed
Dominant language
TypeScript
Stars
291
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Using firebase-tools 9.10.2, when creating a document with a reference field the field is saved but the type appears to be a string with an empty string value.

CleanShot 2021-05-07 at 13 04 11@2x

CleanShot 2021-05-07 at 13 04 45@2x

After creating the document, if I then edit the document and update that field to be a reference it saves correctly.

CleanShot 2021-05-07 at 13 10 16@2x

CleanShot 2021-05-07 at 13 10 26@2x

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.