Skip to content

Comments

Fixing throwFirst for combinators.#376

Open
martinzak-zaber wants to merge 1 commit intotdegrunt:masterfrom
martinzak-zaber:throw-first-fix
Open

Fixing throwFirst for combinators.#376
martinzak-zaber wants to merge 1 commit intotdegrunt:masterfrom
martinzak-zaber:throw-first-fix

Conversation

@martinzak-zaber
Copy link

When I used throwFirst option and oneOf combinators an error is thrown despite the schema being valid. I have provided two new test cases which fail without the given fix.

Thank you for maintaining the library.

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.

1 participant