Skip to content

Conversation

@ahultgren
Copy link

This should fix #74 and #128. I just removed this line and the previous tests still pass and my quickly cobbled together test failed before and passes after the fix.

@travisperson
Copy link

@geraintluff Any reason this hasn't been merged?

@travisperson
Copy link

After digging into this patch, it appears it does not work. However, I believe what needs to happen is if errorAtEnd is false, we need to strip everything after startErrorCount. This will remove any errors reported after the loop continues through the rest of the array of possible object schemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

validateMultiple() and banUnknownProperties incompatible with (certain) anyOf

2 participants