Using TypeScript types for schema definition
@Mohamed EL GUARIR asks:
Hello, Is there any way to use typescript types in the schema definition since i already created them using ts ?
1 Reply
Hey @Mohamed EL GUARIR , the schema needs to be expressed using the
v
validators because not all TypeScript types are supported (and we don't have a translation algorithm from TS to validators). That said the translation should be pretty straightforward, as our validators map to basic TypeScript pretty neatly!