Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
tiangolo merged 5 commits into
masterfrom
query-annotated
Mar 1, 2025
Merged

🐛 Add docs examples and tests (support) for Annotated custom validations, like AfterValidator, revert #13440#13442
tiangolo merged 5 commits into
masterfrom
query-annotated

Conversation

@tiangolo

@tiangolo tiangolo commented Mar 1, 2025

Copy link
Copy Markdown
Member

🐛 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

github-actions Bot commented Mar 1, 2025

Copy link
Copy Markdown
Contributor

@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
@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.

1 participant