Skip to content

fix: UnionSchema::new(...) should not accept duplicate named schemas - #413

Merged
martin-g merged 1 commit into
mainfrom
402-disallow-two-same-named-schemas-in-a-union
Jan 19, 2026
Merged

martin-g merged 1 commit into
mainfrom
402-disallow-two-same-named-schemas-in-a-union

Conversation

@martin-g

Copy link
Copy Markdown
Member

Fixes #402

@martin-g martin-g added this to the 0.22.0 milestone Jan 19, 2026

@Kriskras99 Kriskras99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You're on fire!

To prevent duplicate work, I'm currently doing #406

@martin-g
martin-g merged commit c9180e1 into main Jan 19, 2026
@martin-g
martin-g deleted the 402-disallow-two-same-named-schemas-in-a-union branch January 19, 2026 13:12
@Kriskras99 Kriskras99 mentioned this pull request Jun 28, 2026
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.

UnionSchema::new allows variants with duplicate names

2 participants