Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the typeAlias for patterns in AnyPattern when a discriminator exists #1545

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

StarKhan6368
Copy link
Contributor

What: Fix the typeAlias for patterns in AnyPattern

Why: When a discriminator is present, the typeAlias of the subPatterns should correspond to the schema name.

Checklist:

- The typeAlias should correspond to the schema name in the mappings
  rather than the name of the discriminator schema.
@joelrosario joelrosario merged commit 00d2070 into main Jan 16, 2025
2 checks passed
@StarKhan6368 StarKhan6368 deleted the anypattern-typealias branch February 28, 2025 10:12
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