Bug: Pydantic Config field min_anystr_length
not taken into account
#442
Labels
bug
Something isn't working
min_anystr_length
not taken into account
#442
Description
In a Pydantic model, when using
Config
fieldmin_anystr_length
(to set a minimum length for all strings in the model), Polyfactory does not seem to take it into account which leads to pydantic validation errors during build.My understanding is that currently, Polyfactory only parses the
allow_population_by_field_name
(here) from theConfig
.Is this assessment correct ? Thank you for your help !
URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
No response
Logs
Release Version
2.12.0
Platform
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh Litestar dashboard
The text was updated successfully, but these errors were encountered: