fluid-type-scale-calculator
fluid-type-scale-calculator copied to clipboard
Use zod for schema validation
Description/user story
Currently, I'm hand-rolling schema validation for query params:
https://github.com/AleksandrHovhannisyan/fluid-type-scale-calculator/blob/c69d0de6dcfaf27f3af4b0545bee98491fb3ac6d/src/schema/schema.ts#L15-L235
This works fine, but it could be cleaner with a package like zod to handle this.
Needs some exploration/testing.