Skip to content

✅ Update ValidationError schema in FastAPI-related tests to be compatible with FastAPI 0.128.1+#1744

Merged
tiangolo merged 1 commit intomainfrom
Update-ValidationError-schema
Feb 5, 2026
Merged

✅ Update ValidationError schema in FastAPI-related tests to be compatible with FastAPI 0.128.1+#1744
tiangolo merged 1 commit intomainfrom
Update-ValidationError-schema

Conversation

@YuriiMotov
Copy link
Member

@YuriiMotov YuriiMotov commented Feb 4, 2026

Currently some tests fail due to this change in FastAPI: fastapi/fastapi#14791
(added ctx and input fields to ValidationError schema)

To make tests work with FastAPI 0.128.1+ and with previous versions we need to expect ValidationError schema to be with or without these fields

Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you! 🙌

@tiangolo tiangolo merged commit f1aad85 into main Feb 5, 2026
28 checks passed
@tiangolo tiangolo deleted the Update-ValidationError-schema branch February 5, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants