Using the .in()
validator with a PartialRange never completes
#3048
Labels
bug
Something isn't working
.in()
validator with a PartialRange never completes
#3048
Describe the bug
I have a test that validates a JSON object query. One of the object's properties is an integer, and it's corresponding validation is as follows:
When the test runs, because the
Sequence
passed to.in()
is unbounded, the test continues to run forever, racking up more and more memory:To Reproduce
Steps to reproduce the behavior:
Expected behavior
The
.in()
validation should not accept an unbounded or partial range.Environment
The text was updated successfully, but these errors were encountered: