Open nix010 opened 6 days ago
BaseModel.model_dump[_xxx](serialize_as_any = True) breaks with models with recursive attribute types (not values) https://github.com/pydantic/pydantic/issues/9670
fix https://github.com/pydantic/pydantic/issues/9670
pydantic-core
Comparing nix010:fix-serialize-as-any-with-recursive-ref (7b5c8ce) with main (a017bd9)
nix010:fix-serialize-as-any-with-recursive-ref
main
✅ 155 untouched benchmarks
✅ 155
BaseModel.model_dump[_xxx](serialize_as_any = True) breaks with models with recursive attribute types (not values) https://github.com/pydantic/pydantic/issues/9670
Related issue number
fix https://github.com/pydantic/pydantic/issues/9670
Checklist
pydantic-core
(except for expected changes)