-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Broken union type generation since "polyfactory<2.6" (pydantic_factory) #366
Labels
bug
Something isn't working
Comments
Yeah this is definitely a bug. Thank you for reporting this :) |
mdczaplicki
pushed a commit
to mdczaplicki/polyfactory
that referenced
this issue
Sep 19, 2023
5 tasks
This seems like it's fixed on
|
Seems it's not fixed yet in Pydantic v1 :/ I think we may have to just special case pydantic v1 as mentioned here. |
Fixed in #491. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Value generation for
union_field: str | list[str]
types is broken since polyfactory<2.6.Sample of broken results:
URL to code causing the issue
No response
MCVE
Steps to reproduce
The text was updated successfully, but these errors were encountered: