Closed tyzhnenko closed 7 months ago
Just figured out that v1 doesn't support Pydantic 2+
Hi @tyzhnenko I don´t plan to add more features to v1. A few months ago, shortly after pydantic v2 was released as stable, I made some changes to blacksheep v2 to support pydantic v2, but I don't have interest in adding the same to blacksheep v1. I'll close this ticket for now - blacksheep v2 is now stable and documented.
Describe the bug
PydanticModelTypeHandler in BlaskSheep v1.2.18 rises AttributeError for EmailStr type with Pyrantic 2+
Example app: