Closed Vegemash closed 1 month ago
@Vegemash thanks for reporting this and for the PR! I'm a bit swamped at the moment, but I'll take a look at the PR (if no one else has a chance) sometime this week.
Seems to be same as: https://github.com/litestar-org/polyfactory/issues/559
Sorry for the duplicate.
Description
A pydantic BaseModel field with the type
list[int] | None
will produce[[123]]
Fix incoming
MCVE
Steps to reproduce
Run the above
Release Version
2.15
Platform