-
Notifications
You must be signed in to change notification settings - Fork 6
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
Give more context in Violation struct #102
Comments
Thanks for reaching out about this @backesj! I have created this issue for reference: #105 Let me know if there was some specific use case you were looking for to add enough context to violation |
Thanks for the response! Mostly I think it would be valuable to provide line numbers and the content of the line so that users can more quickly identify the source of validation errors. This isn't in the formatted display currently, and it can be challenging to quickly locate the problem for violations that occur deep in an ION structure. |
Currently the violation struct looks like this:
It would be great if it also contained line numbers and a snippet of the content of the line that caused the error. Right now it's very difficult to figure out what caused the violation with the current context.
The text was updated successfully, but these errors were encountered: