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
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