Skip to content

support pydantic v2 #25

Description

@sanzoghenzo

Hi! great to see this useful tool!

Cross posting from FastAPI discussions 😉

I just tried it, but unfortunately it doesn't work with pydantic v2.

It crashes because it can't find pydantic.fields.ModelField, that is removed in facor of a cls.model_fields, which is a dict[str, FieldInfo].
Obviously there will be other error, but I couldn't find the time to investigate it further.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions