Does withConverter need to have fromFirestore and toFirestore? #7707
-
|
On the client side I'm only ever reading documents, so I was wondering if it was really necessary to make the |
Beta Was this translation helpful? Give feedback.
Answered by
rrousselGit
Dec 26, 2021
Replies: 1 comment 1 reply
-
|
If you don't want to implement toFirestore: (value, options) => throw UnsupportedError(), |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
joshpetit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you don't want to implement
toFirestore, you're free to throw an exception