You can reflect TS types out of it. There are 3rd party libraries to generate JSON Schemas from Zod objects, which is helpful if you have non-TS clients you want to support
Ajv has supported that for at least a couple of years afaik, and consumes JSON Schema natively which is good for consuming other APIs, not just feeding external clients—its base data format is interoperable, basically.
That’s mostly why I’m curious about the lack of mention :)
petesergeant|1 year ago
shadowfiend|1 year ago
That’s mostly why I’m curious about the lack of mention :)
Timon3|1 year ago
shadowfiend|1 year ago