Bug: constraints not working in pydantic v2 (when a Union
is used)
#317
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Preface
There was a confirmed bug #307 but it was not completely fixed.
Using
Annotated
was fixed but usingAnnotated[<type>, <...>] | None
still fails.Reproducible sample
Error output
Versions
Funding
The text was updated successfully, but these errors were encountered: