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

@JsonClassDiscriminator and @InheritableSerialInfo #1608

Merged
merged 3 commits into from
Aug 26, 2021

Conversation

sandwwraith
Copy link
Member

No description provided.

…erialzers

Enables support of @SerialInfo class-level annotation on such classes

Fixes #708
Fixes #1240
…gure discriminator per polymorphic base class

Fixes #546
public abstract fun discriminator ()Ljava/lang/String;
}

public final class kotlinx/serialization/json/JsonClassDiscriminator$Impl : kotlinx/serialization/json/JsonClassDiscriminator {
Copy link
Member

Choose a reason for hiding this comment

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

[out of scope] Do we want to change the generation of synthetic implementation in the face of 1.6.0 annotation instantiation?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, when Native & JS implementations would be fully ready

@qwwdfsad
Copy link
Member

Great job!

@sandwwraith sandwwraith merged commit be7af57 into dev Aug 26, 2021
@sandwwraith sandwwraith deleted the inheritable-serial-info branch August 26, 2021 14:17
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.

4 participants