-
Notifications
You must be signed in to change notification settings - Fork 12
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
@context
missing the type definitions in version 0.4.0
#477
Comments
@anitacaron thank you for the report; there is no test for the JSON serialisation other than checking that the mappings are present. @cthoyt I missed this during a review of one of your PRs: We need to undo this change urgently, as this breaks the JSON format; I started doing this here #479 The problem is that the jsonld base from which we originally created the context does not exist anymore. Which means I will have to revive quite a bit of code that was previously removed unfortunately.. How I missed this I cant understand, another reason for small PRs moving forward. Sorry about that @anitacaron. @cthoyt If I don't hear from you I will roll back the jsonld context related changes. @hrshdhgd can you find me a valid JSON version of any linkml converted file format? I just want to look how the json files look like.. |
looking into this... more context about what code you're running would be helpful |
so is the issue that the |
This is the consequence of running
Yes. |
@anitacaron i updated Nico's PR in #479, it should solve the problem now with minimal changes, we just need to add a unit test to it. |
Fixes #477 --------- Co-authored-by: Charles Tapley Hoyt <cthoyt@gmail.com>
The new release changed the
@context
when callingto_json
, now only returning prefixes, instead of a complete definition of types in JSON-LD.Expected
@context
returned in version 0.3.41Click to view context version 0.3.41
Click to view context in version 0.4.0
Is there another method to have the complete
@context
for JSON-LD file?The text was updated successfully, but these errors were encountered: