-
Notifications
You must be signed in to change notification settings - Fork 624
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
Conversation
core/commonMain/src/kotlinx/serialization/PolymorphicSerializer.kt
Outdated
Show resolved
Hide resolved
core/commonTest/src/kotlinx/serialization/SerializersLookupEnumTest.kt
Outdated
Show resolved
Hide resolved
core/commonMain/src/kotlinx/serialization/PolymorphicSerializer.kt
Outdated
Show resolved
Hide resolved
core/commonMain/src/kotlinx/serialization/PolymorphicSerializer.kt
Outdated
Show resolved
Hide resolved
402be0c
to
c478b94
Compare
formats/json/commonMain/src/kotlinx/serialization/json/internal/Polymorphic.kt
Outdated
Show resolved
Hide resolved
…gure discriminator per polymorphic base class Fixes #546
f2ac92f
to
ae9fb69
Compare
public abstract fun discriminator ()Ljava/lang/String; | ||
} | ||
|
||
public final class kotlinx/serialization/json/JsonClassDiscriminator$Impl : kotlinx/serialization/json/JsonClassDiscriminator { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Great job! |
No description provided.