ajv-validator / ajv-validator/ajv

Ability to see if validator modified data

Offen
#1,954 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
14.8k
Forks
1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.