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

Do not check kind or discriminator collisions #2833

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

sandwwraith
Copy link
Member

for subclasses' polymorphic serializers if Json.classDiscriminatorMode is set to NONE.

This should simplify the code in situations where JSON is expected to be only sent and not parsed.

Fixes #2753
Fixes #1486

for subclasses' polymorphic serializers if Json.classDiscriminatorMode is set to NONE.

This should simplify the code in situations where JSON is expected to be only sent and not parsed.

Fixes #2753
Fixes #1486
Copy link
Contributor

@shanshin shanshin left a comment

Choose a reason for hiding this comment

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

I think somewhere in the documentation you should specify a new behavior so that it does not come as a surprise to the user.

@sandwwraith sandwwraith merged commit e147b02 into dev Oct 30, 2024
4 checks passed
@sandwwraith sandwwraith deleted the relax-discriminator-requirements branch October 30, 2024 16:24
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