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

Return null when object subtype is not found #577

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

velvolue
Copy link
Contributor

@velvolue velvolue commented Jan 9, 2025

Fixes StackOverflowException which is thrown when subtype discriminator value is unknown.

The same issue was reported in NJsonSchema with a corresponding fix.

Fixes `StackOverflowException` which is thrown when subtype discriminator value is unknown.
Copy link

sonarqubecloud bot commented Jan 9, 2025

@christianhelle christianhelle self-assigned this Jan 9, 2025
@christianhelle christianhelle added the enhancement New feature, bug fix, or request label Jan 9, 2025
Copy link
Owner

@christianhelle christianhelle left a comment

Choose a reason for hiding this comment

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

Looks good to me

Thanks for the contribution @velvolue

@christianhelle christianhelle merged commit bb1bf87 into christianhelle:main Jan 9, 2025
2 checks passed
@christianhelle
Copy link
Owner

@all-contributors please add @velvolue for code

Copy link
Contributor

@christianhelle

I've put up a pull request to add @velvolue! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, bug fix, or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants