-
Notifications
You must be signed in to change notification settings - Fork 64
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] support Pydantic v2 syntax / @validator -> @field_validator #150
Comments
Requesting this library be updated to use pydantic 2.x asap. I think it is ok to drop support for FastAPI versions that don't support pydantic 2.x. |
I haven't been able to use Pydantic v2 personally, but as far as I know, it is supported? What does not work for you? #144 |
Oups - my bad. Yeah, it's supported, but logging deprecation warnings due to using deprecated features such as |
I agree, I do want to migrate to v2 fully. Right now there is a version supporting both, but I'll probably only support v2 going forward(and release a v5), only pushing security fixes to the v4.x releases. First step is to rewrite all docs to be v2 compliant. I've started with #153 and single-tenant right now. I'd love if someone would like to contribute with migrating multi-tenant and b2c docs. |
Hey @JonasKs, I've updated the docs according to pydantic v2, would appreciate your feedback on it. |
Describe the feature you'd like
I got following warnings:
The text was updated successfully, but these errors were encountered: