Bug: pydanticfactory_use_construct
is not propagated to the nested model.
#548
Labels
bug
Something isn't working
Description
polyfactory always do validation of the nested models, even if
factory_use_construct
are passed as a build argument.Possible workaround, but doesn't work well for multiple depth fields
model = NestedFactory.build(factory_use_construct=True, nested={"factory_use_construct": True} )
Is it possible to propagate
factory_use_construct
to the pydantic model fields by default?URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
No response
Logs
The text was updated successfully, but these errors were encountered: