Re:Prologue: Full-Stack Web Framework Written in Nim
by mixedCase on Monday June 08, 2020 @10:54AM
(#23457001)
Not sure about Nim, but you can do this in TypeScript. There's even a library called io-ts that allows you to create composable types of this form for runtime validation which then turns the result into proper types.
[ Parent
| on HN ]
Re:Prologue: Full-Stack Web Framework Written in Nim
by steve_adams_86 on Monday June 08, 2020 @05:45PM
(#23461154)
Wow, that's really helpful. I'm working on a TS project at the moment and that might come in handy. Thanks!