2 ms·
You might be aware of it already, but I just wanted to mention that the Zod library could potentially solve some of your needs.
by esrch 4y ago
You might be aware of it already, but I just wanted to mention that the Zod library could potentially solve some of your needs.
- chucklenorris 4y agoYes, that and the openapi plugin is what i use right now. Before i used to load the ts compiler at runtime and tell it to parse my file and got the types from there. But it was a stupid overengineered brittle solution.