Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

When getting document by id and the document doesn't exist; Serialization fails #17

Open
zacharyrote opened this issue Apr 7, 2020 · 0 comments

Comments

@zacharyrote
Copy link

Use case;
Find resource by id where id is not a field in the document but the key of the document.

Collection(MyData).doc(docId).get().then(doc => { ... })

If the document doesn't exist; Firestorm still tries to serialize an undefined.

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

No branches or pull requests

1 participant