-
-
Notifications
You must be signed in to change notification settings - Fork 589
Handle $id property for draft6 in validates() #417
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
Conversation
Here though I think this (unfortunately) is the right solution, this too needs tests! (And thanks again!) |
And likely a quick note in the docstring. |
Something like this?
|
Yep, exactly! I'd add one more that uses And ideally a third that tests the behavior for when |
Fix another spot where 'id' vs. '$id' needs to be handled for draft 6+. Signed-off-by: Grant Likely <[email protected]> [robh: add testcases, re-word commit message] Signed-off-by: Rob Herring <[email protected]>
@Julian Any issues with this change? |
Didn't notice you'd updated it, thanks for the ping! Will have to re-review.
…On Tue, Jun 5, 2018 at 4:38 PM, Rob Herring ***@***.***> wrote:
@Julian <https://github.com/Julian> Any issues with this change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#417 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUIXpqVBVxJlTKu_U8dcneCobOKX7-mks5t5uxggaJpZM4USSPg>
.
|
ea41553 Remove test that doesn't match RFC 3339 duration grammar dee8ef7 Merge pull request #411 from ChALkeR/chalker/more-unevaluted cd88fb5 Add more nested and cousin unevaluatedProperties tests 5f3dc7e Merge pull request #415 from json-schema-org/ether/more-ipv6-tests 04ddab1 some more ipv6 tests acb45cd Merge pull request #417 from ChALkeR/chalker/patternProperties 0f4b73a One more patternProperties test with boolean schemas 8ccbfdc Merge pull request #412 from json-schema-org/ether/more-format-duration-2 1329dab some more tests for the "duration" format 1d5c3c0 Merge pull request #405 from ChALkeR/chalker/email-format 7ad7443 Extend email format tests git-subtree-dir: json git-subtree-split: ea415537dda2613f3cd5df1f219f84086f75a7dc
Fix another spot where 'id' vs. '$id' needs to be handled for draft 6+.
Signed-off-by: Grant Likely [email protected]
[robh: re-word commit message]
Signed-off-by: Rob Herring [email protected]