Re:Value Objects – DDD with TypeScript
by dfee on Sunday April 07, 2019 @07:10PM
(#19600561)
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.
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