ajv-validator / ajv-validator/ajv

Ability to see if validator modified data

Aperta
#1,954 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

**What version of Ajv you are you using?**
v8.6.3

**What problem do you want to solve?**
I want toknow if running the validator has modified the data or not without needing to do a comparison of the data after running the validator myself.

**What do you think is the correct solution to problem?**
It can append a property `dataModified` as a boolean to the validator function similar to `errors`.

**Will you be able to implement it?**
If I get a reference on where best to make the change yes.

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.