ajv-errors icon indicating copy to clipboard operation
ajv-errors copied to clipboard

Custom error messages in JSON Schemas for Ajv validator

Results 39 ajv-errors issues
Sort by recently updated
recently updated
newest added

When using alongside `ajv-keywords` and `uniqueItemProperties`, how do I get the `instancePath` of the erroneous record? My code: ```js import Ajv from 'ajv'; import addFormats from 'ajv-formats'; import ajvErrors from...

Hey everybody, I have some issues when i'm trying to put errorMessage with an array, for example, this is my schema : ``` "pictures": { "type": "array", "items": { "type":...

## Problem description AJV cannot infer which subtype of a union is being used when creating a union over objects. This might be an issue with AJV core, or just...

Hi! Thanks for your great libraries. It's cool to work with. Being able to define the key for the error messages could be nice. maybe something like: ``` import Ajv...

Hi I am trying to use this ajv-errors package with react and typescript but I keep getting this error even though allErrors is set true? my code is as follows:...

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.17.7 to 16.4.10. Commits See full diff in compare view [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=14.17.7&new-version=16.4.10)](https://dependabot.com/compatibility-score/?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=14.17.7&new-version=16.4.10) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.4 to 11.1.1. Release notes Sourced from lint-staged's releases. v11.1.1 11.1.1 (2021-07-24) Bug Fixes the shell option value should be optional instead of required (#996) (f7302f4), closes...

dependencies

Bumps [husky](https://github.com/typicode/husky) from 5.2.0 to 7.0.1. Release notes Sourced from husky's releases. v7.0.1 Fix gracefully fail if Git command is not found #1003 (same as in v6) v7.0.0 Improve .husky/...

dependencies

Hey :) First of all, thank you for this amazing library. I was wondering if it is possible to use params in custom errors templates ? For example, I'd like...

feature