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

Report errors by line number in source documents. #31

Closed
timburks opened this issue Mar 1, 2017 · 3 comments
Closed

Report errors by line number in source documents. #31

timburks opened this issue Mar 1, 2017 · 3 comments

Comments

@timburks
Copy link
Contributor

timburks commented Mar 1, 2017

Currently errors are reported in terms of key paths in the source documents. It would be helpful to users to have this reflected back to line numbers.

@MikeRalphson
Copy link
Contributor

Perhaps there is a go equivalent of this library, or it could be ported?

@timburks
Copy link
Contributor Author

timburks commented Jul 1, 2020

It appears that the yaml.v3 Node will give us line numbers. Thanks @gizzon for the find!

@timburks
Copy link
Contributor Author

Fixed in #219

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

No branches or pull requests

2 participants