3 ms·
I’ve just gotten io-ts configured to do mapping in / out of Firestore (mapping from a Query/DocumentSnapshot on the ingress and to a change set on egress). Mig
by dfee 8y ago
I’ve just gotten io-ts configured to do mapping in / out of Firestore (mapping from a Query/DocumentSnapshot on the ingress and to a change set on egress).
Might be worth checking that library out for anyone who knows about DDD or wants to abstract their mapping code.
https://github.com/gcanti/io-ts https://github.com/gcanti/io-ts