Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include item index in error messages #116

Closed
ssube opened this issue Nov 3, 2019 · 0 comments · Fixed by #117
Closed

include item index in error messages #116

ssube opened this issue Nov 3, 2019 · 0 comments · Fixed by #117

Comments

@ssube
Copy link
Owner

ssube commented Nov 3, 2019

This didn't make #112, but to complete #20 for errors, the selected item's index (out of all selected items, before filtering) should be included in the error message and data.

This will require moving the map(friendlyError) call up into the visitor to some extent, although schema rules should not leak raw Ajv errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant