You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I noticed something unusual with the results I was getting back whilst using anyOf as the instance and schema locations didn't match what I was expecting. This one seems pretty straightforward, as in this instance anyOf is pushing the schema location as the instance location. I've included a link to the line with the issue as well as what it probably should be for reference.
As far as I can see it's only affecting output, however there aren't many places where I am using anyOf at the moment. I'm only picking up some of these issues because I've got test code that relies on being able to evaluate the instance and schema locations.
Describe the bug
I noticed something unusual with the results I was getting back whilst using anyOf as the instance and schema locations didn't match what I was expecting. This one seems pretty straightforward, as in this instance anyOf is pushing the schema location as the instance location. I've included a link to the line with the issue as well as what it probably should be for reference.
https://github.com/gregsdennis/json-everything/blob/master/JsonSchema/AnyOfKeyword.cs#L63
https://github.com/gregsdennis/json-everything/blob/master/JsonSchema/AllOfKeyword.cs#L63
The text was updated successfully, but these errors were encountered: