Vitali Haradkouvitalicset.hashnode.dev·Sep 16, 2024Ajv-ts got 0.9. What's new?The latest Release 0.9 of the Schema Validation Toolkit - ajv-ts brings a suite of enhancements to improve developer productivity and ensure better validation accuracy. Whether you're building complex data models or just handling basic input, these u...DiscussAjv-ts library updatesajv-ts
Vitali Haradkouvitalicset.hashnode.dev·Jul 8, 2024Ajv-ts reached 0.7! 🎉Note: The library is not an official ajv extension What's up, guys! Today I will show you a massive product update for the library inspired by zod - ajv-ts. Release link - here Why have there been no updates for a long time? Well, the previous relea...DiscussAjv-ts library updatesTypeScript
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Feb 23, 2024Fastify Fundamentals: How to Validate API ResponsesValidation is an important aspect of API development as it helps you check whether an API is working as expected, whether it returns the right data quickly, and if it meets security requirements. Developers who use Fastify need to remain aware of how...Discuss·2.5K readsplatformatic
Vitali Haradkouvitalicset.hashnode.dev·Jan 16, 2024Library update: ajv-ts 0.5Installation/Update npm i ajv-ts@latest # npm yarn add ajv-ts@latest # yarn pnpm add ajv-ts@latest # pnpm bun add ajv-ts@latest # bun New Features not, exclude Now you can mark your schema with not keyword! Here is a 2 differences between not and ex...DiscussAjv-ts library updatesNode.js
Vitali Haradkouvitalicset.hashnode.dev·Jan 15, 2024Library update: ajv-ts 0.4New Features Now schema builder supports custom error messages. import s from 'ajv-ts' const num = s.number().error('cannot be not a number') const res1 = num.safeParse("some random string") const res2 = num.safeParse("1.2") console.error(res1.erro...DiscussAjv-ts library updatesajv