Katzius
Katzius10mo ago

was wondering if anyone got a chance to use Ajv as input/output validator?

I have been trying to use Ajv https://ajv.js.org/ with tRPC, but I wasn't able to get the types working, no matter what I do the input type is always boolean, regardless of the schema I am using.
Ajv JSON schema validator
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
0 Replies
No replies yetBe the first to reply to this messageJoin