ajv-validator / ajv-validator/ajv

Option to hide "control flow" errors?

Aperta
#1,676 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
14.8k
Fork
1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I would love to be able to filter error messages to contain only errors regarding the properties of a given JSON-Input.
Is this already possible via a configuration option?

Example:
https://stackblitz.com/edit/react-crmwbn

**What version of Ajv you are you using?**
8.6.1

**What problem do you want to solve?**
I want AJV to only return errors for properties and filter out all other errors.

**What do you think is the correct solution to problem?**
I am not sure if my proposal is a "correct" solution :)

**Will you be able to implement it?**
no, unfortunately not

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.