Re:Show HN: A SQL database implemented purely in TypeScript ...
by smichel17 on Monday September 28, 2020 @09:28AM
(#24616398)
This is why you need input validation. Eg, zod or io-ts.
[ Parent
| on HN ]
Re:Show HN: A SQL database implemented purely in TypeScript ...
by cjdell on Monday September 28, 2020 @09:36AM
(#24616452)
Did not know about these. I wrote my own a while back because I couldn't find an example of this being done (fully type safe validation).
Re:Show HN: A SQL database implemented purely in TypeScript ...
by buu700 on Monday September 28, 2020 @09:52AM
(#24616578)
Not exactly the same thing, but protobuf.js also works really well for this: https://github.com/protobufjs/protobuf.js