Skip to content

Conversation

@tiangolo
Copy link
Member

@tiangolo tiangolo commented Mar 1, 2025

🐛 Add docs examples and tests (support) for Annotated custom validations, like AfterValidator, revert #13440

This reverts #13314, which caused #13440. There were no docs nor tests for that specific use case, so this was not caught by tests in that PR.

By adding docs, with source examples and tests for those examples, this ensures those use cases are properly supported and prevents breaking them in the future.

This reverts commit 15dd2b6.

@tiangolo tiangolo added the bug Something isn't working label Mar 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2025

@tiangolo tiangolo marked this pull request as ready for review March 1, 2025 22:01
@tiangolo tiangolo changed the title 🐛 Add docs examples and tests (support) for Annotated extra validations, like AfterValidator, revert #13440 🐛 Add docs examples and tests (support) for Annotated custom validations, like AfterValidator, revert #13440 Mar 1, 2025
@tiangolo tiangolo enabled auto-merge (squash) March 1, 2025 22:02
@tiangolo tiangolo merged commit 74fe89b into master Mar 1, 2025
51 checks passed
@tiangolo tiangolo deleted the query-annotated branch March 1, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants