-
Notifications
You must be signed in to change notification settings - Fork 399
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
$ref loop detection after second call of 'validate' method #4
Comments
Can you post your schema and sample data? |
Any input? I'm at a loss on reproducing this issue. Also, what version are you using? Is this 0.4, master? |
Ok, for example Schemas:
Json instance :
Code:
|
OK, I can reproduce it, looking it up... |
43cb1f2 <-- this fixes it. Nice catch! I prepare for release 0.4.1. |
OK, 0.4.1 is in the pipe. Let me know when you have downloaded it! |
I take it that "no news, good news". |
All seams to be workable now, thanks. |
Hi!
I found that if I try to validate json-instance against a schema by specified path (
validator.validate("#/schema/in", json)
), validation pass for first time, but second third and so on calls will report an "$ref loop" error. It seems strange since I try to revalidate same json-instance.The text was updated successfully, but these errors were encountered: