Open vltr opened 5 years ago
https://github.com/vltr/middle/blob/d3fc3f941dd054cd91947df11821b503a1ba1701/tests/test_types.py#L953-L969
The definition above should produce a ValidationError, since it's not Optional, hence the values on given for Tuples must not be null or None.
ValidationError
Optional
Tuple
null
None
https://github.com/vltr/middle/blob/d3fc3f941dd054cd91947df11821b503a1ba1701/tests/test_types.py#L953-L969
The definition above should produce a
ValidationError
, since it's notOptional
, hence the values on given forTuple
s must not benull
orNone
.