You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gunzip I've been using suretype in production since 2022 in a Koa.js server with ~90mil requests per month and have had zero issues with suretype. When i was evaluating js/ts runtime validation libs suretype performed the best (vs Zod & Yup). I use the extractJsonSchema and parse each request into JSON schema which suretype will use with AJV for runtime validation. I also publish the api docs in JSON schema at runtime which provides great DX - I don't need to remember to update or compile json schema to publish the api docs, just write the endpoint schemas in suretype and deploy 👌 .
Personal note, it's still baffling to me today why more people don't talk about or use suretype! Great lib.
I see there's a similar peoject here: https://github.com/sinclairzx81/typebox and wonder how the two compare.
The text was updated successfully, but these errors were encountered: