3 ms·
Until .NET has the equivalent of Zod, I'm not that interested. Being able to write a validation schema and deriving types from it automatically - that I can sh
by LAC-Tech 4y ago
Until .NET has the equivalent of Zod, I'm not that interested.
Being able to write a validation schema and deriving types from it automatically - that I can share on client and server - is just too big an advantage.
- banashark 4y agoZod is really cool. Similar in F# land is https://github.com/Zaid-Ajaj/Fable.Remoting https://github.com/Zaid-Ajaj/Fable.Remoting While both client and server are designed to be used from F#, they should be able to be used from js/ts as well as c# if desired, though I have not tested that.
- bob1029 4y agoPerhaps you should look into the .NET implementation of gRPC. It works really well in my experience.
- LAC-Tech 4y agoThe thing with zod is that by reusing schemas on server and client, I get extra client side validation for free. gRPC seems like it's just for the server.