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

Fallback for anonymous array item discriminators #31

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

glopesdev
Copy link
Member

This PR ensures a fallback for the edge case where the schema defining array items is itself an anonymous discriminator. This is not supported nor recommended, but we want to leave a fallback to make it possible to inspect the output.

@glopesdev glopesdev added the fix Pull request that fixes an issue label Jan 19, 2024
@glopesdev glopesdev merged commit 21acb5c into main Jan 19, 2024
2 checks passed
@glopesdev glopesdev deleted the discriminator-dev branch January 19, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant