gbv / avram-js

Avram Schema Language implementation in JavaScript
https://gbv.github.io/avram-js/
MIT License
2 stars 0 forks source link

Provide error location in defined form #26

Open nichtich opened 9 months ago

nichtich commented 9 months ago

Errors are defined at https://github.com/gbv/avram-js/blob/main/test/suite/README.md and partly documented in main README.md but implementation slightly differs. In addition to consistent definition, include

nichtich commented 9 months ago

The error location could be added as filter if record family is known (passed either as part of the schema or as validation option).