-
Notifications
You must be signed in to change notification settings - Fork 57
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
Resolve JSON references that point to things in-tree automatically #1840
Comments
Can you use an anchor and alias? These are automatically resolved. |
Hey there, yeah the plan is to switch to use anchors instead. How closely tied is the asdf python library to the standard? If references aren't fully supported by the python lib (which I imagine is by far the most used) it might make sense to change that paragraph in the standard docs, and encourage reference use only for external references? |
Thanks! At the moment the python library and standard are pretty tied together (since the python library is the most complete implementation of the standard). I'm surprised to see the standard discourage anchors and aliases. I opened a PR to remove that statement. |
Sounds good, thanks! |
The standard says:
however, the Python library makes this pretty hard to follow. If you use JSON References then they will not be resolved automatically making their use in things which get passed to a
Converter
class pretty troublesome. It would be good if in-tree references were automatically resolved and then it would be transparent to the converter.cc @seanhess
The text was updated successfully, but these errors were encountered: