-
Notifications
You must be signed in to change notification settings - Fork 198
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
Fix type scoped terms. #312
Conversation
Related to w3c/json-ld-syntax#174. |
3c5eb62
to
c9e8837
Compare
How do you handle expansion test tm008? Previously, the context passed to expanding values includes those for the type index, but now the expansion algorithm removes those terms. It seems to me that the object value needs to be changed before it's expanded to include the type index as a value of |
FWIW, my solution was to pass a |
Sorry, only just now seeing your question -- and I agree with your solution. I was previously passing a flag JFYI, I'm planning on merging this PR on Monday to move things forward with the VC |
I’ll have an update to the API PR today, probably won’t get to the syntax. Until after WWW. |
This PR will cause
@type
scoped terms to be limited to objects that have a matching@type
value. Without this patch,@type
scoped terms also unexpectedly apply to anything nested (contained within the tree) of a typed object.