Skip to content
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

Re-use field validators if pydantic v2 permits #579

Open
JenySadadia opened this issue Nov 27, 2024 · 0 comments
Open

Re-use field validators if pydantic v2 permits #579

JenySadadia opened this issue Nov 27, 2024 · 0 comments

Comments

@JenySadadia
Copy link
Collaborator

Review comment: #572 (comment)
We have the same field validator definitions for groups field in user schema models such as UserCreate and UserUpdate.
Check if field validators can be reused in pydantic v2 and optimize models if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant