DEV Community

Discussion on: Functional design: smart constructors

Collapse
 
gcanti profile image
Giulio Canti

If you are not comfortable with deriving your domain models from io-ts values (understandable) the other option is code generation.
Also check out io-ts-codegen