-
-
Notifications
You must be signed in to change notification settings - Fork 219
Remove instances of $id
in content related annotation tests
#775
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
Remove instances of $id
in content related annotation tests
#775
Conversation
Signed-off-by: Juan Cruz Viotti <[email protected]>
Else maybe we can remove the |
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that would be the correct expected property, but ...
Else maybe we can remove the
$id
?
Yes, the $id
shouldn't be included. I included that originally because I was returning the schema location as the annotation value and the URI of the schema was relevant to that value. But then we decided in a discussion not too long ago that it should be the schema object and not the location. When I changed the test, the $id
was no longer necessary and should have been removed. Although both fixes work, I think the best solution is to remove $id
. It's not needed.
$id
for annotation schema location assertions$id
in content related annotation tests
@jdesrosiers Makes sense. Done! I updated the PR to remove the identifiers instead |
Signed-off-by: Juan Cruz Viotti <[email protected]>
1c331cf
to
72c670b
Compare
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
Is there anything preventing the merge of this PR? |
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
See: json-schema-org/JSON-Schema-Test-Suite#775 Fixes: #442 Signed-off-by: Juan Cruz Viotti <[email protected]>
I've been trying to finally incorporate the annotation test suite in Blaze, and this is the one issue I found. Given the schema declares
$id
, the assertion should probably assert against the actual full URI?