Skip to content

Fix empty Raw type names in validation errors - #1176

Merged
Siyet merged 1 commit into
mainfrom
fix-raw-field-error-message
Sep 9, 2026
Merged

Siyet merged 1 commit into
mainfrom
fix-raw-field-error-message

Conversation

@Siyet

@Siyet Siyet commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Invalid input for required Raw fields in a TypedDict, or Raw fields with a dataclass default factory, could produce an empty expected-type name in validation errors. Ignore field metadata when formatting the type name so these errors include raw.

Follow-up to #1169.

@Siyet
Siyet added this pull request to the merge queue Sep 9, 2026
Merged via the queue into main with commit 2c34802 Sep 9, 2026
24 checks passed
@Siyet
Siyet deleted the fix-raw-field-error-message branch September 9, 2026 22:52

This branch was successfully deployed

1 active deployment
docs-preview — 77fa65e0 Deployed Sep 9, 2026 by Siyet via Deploy preview #446
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

Successfully merging this pull request may close these issues.

1 participant