Skip to content

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
@sandwwraith sandwwraith requested a review from shanshin October 10, 2024 16:13
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 requested a review from shanshin October 28, 2024 18:28
@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