Skip to content

fix: validate object and record intersection key types correctly - #6248

Closed
deepshekhardas wants to merge 2 commits into
colinhacks:mainfrom
deepshekhardas:fix/object-record-intersection-keys
Closed

deepshekhardas wants to merge 2 commits into
colinhacks:mainfrom
deepshekhardas:fix/object-record-intersection-keys

Conversation

@deepshekhardas

Copy link
Copy Markdown
Contributor

Fixes key validation for object & record intersection schemas.

@colinhacks

Copy link
Copy Markdown
Owner

Closing in favor of #6412, which fixes this where the issue code is chosen rather than filtering in the intersection handler, and covers record-to-record intersections as well.

Thanks for looking into this πŸ‘

@colinhacks colinhacks closed this Aug 14, 2026

This branch was successfully deployed

1 active deployment
Preview – zod-v4 β€” 31f94baa Deployed Aug 9, 2026 by vercel[bot]
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.

2 participants