[Firestore] Add ability to quickly switch to a map #5360
Unanswered
cedvdb
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When decoding a document to a map, the map coming from the
data()
method is not agnostic of firestore. At the moment I'm using this to decode data, so firestore doesn't leak to the rest of my program:I just think it would be nice if that was built in, this fits my usecase, but I'm sure there are more types to check than just timestamp. I just don't think back end types should leak into the frontend.
Beta Was this translation helpful? Give feedback.
All reactions