Skip to content

Conversation

@dwightjack
Copy link
Owner

@dwightjack dwightjack commented Oct 6, 2021

This PR fixes a bug introduced in 6811079 that causes the nativeChecks array to contain instances of validators in the following scenario:

oneOfType([number(), string()])

Expected
image

Result
image

It should fix #187.

@dwightjack dwightjack self-assigned this Oct 6, 2021
@dwightjack dwightjack marked this pull request as ready for review October 6, 2021 12:12
@dwightjack dwightjack merged commit 7e20670 into next Oct 7, 2021
@dwightjack dwightjack deleted the fix/oneoftype branch July 23, 2022 02:57
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.

using .def() with oneOfType throws error

2 participants