Closed
Description
Inside of my Cloud Functions code written in TypeScript, I have 2 custom models which I want to populate with FirebaseFirestore.DocumentData
maps. Also when writing to Firestore, I would like to deserialize the custom objects into FirebaseFirestore.DocumentData
s.
Can I use this library with cloud functions? would it help with this mission? I am somewhat of a noob with web technologies and backend. So please help me out.
This explains the issue in greater detail. with code:
Also before coming up with this library, I asked a question in SO: Cloud Functions(TypeScript) - How to use custom Models instead of nested maps/dictionaries. If I can solve it with this, It would be nice to have an answer in SO so others can see this library.