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

Better metadata handling. #24

Closed
2 tasks done
timothee-haudebourg opened this issue Nov 4, 2021 · 2 comments
Closed
2 tasks done

Better metadata handling. #24

timothee-haudebourg opened this issue Nov 4, 2021 · 2 comments
Projects

Comments

@timothee-haudebourg
Copy link
Owner

timothee-haudebourg commented Nov 4, 2021

Thanks to the generic_json library, we have access to some metadata associated to each part of the input JSON documents. Here is what we need to do with it:

  • Attach to any returned error/warning the metadata of the JSON element that caused it.
  • Keep the metadata in the expanded JSON-LD document whenever possible (maybe not for version 1.0).
@timothee-haudebourg timothee-haudebourg created this issue from a note in Version 1.0 (In Progress) Nov 4, 2021
@timothee-haudebourg
Copy link
Owner Author

I'll need serde-rs/json#821 to precisely locate errors originating from keys:

  • InvalidContextEntry
  • InvalidReverseProperty
  • KeyExpansionFailed
  • I may miss some others

@timothee-haudebourg timothee-haudebourg moved this from In Progress to Postponed in Version 1.0 Nov 18, 2021
@timothee-haudebourg
Copy link
Owner Author

Implemented in version 0.9.1.

Version 1.0 automation moved this from Postponed to Done Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant