-
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
Support contextual serialization of generic classes #1416
Conversation
core/commonMain/src/kotlinx/serialization/modules/SerializersModuleCollector.kt
Outdated
Show resolved
Hide resolved
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.
Great addition, looks great!
Let's fill in our KDocs and slightly update serializers.md
(no need to write a full-blown section or example, just mentioning is enough) and it's good to go!
core/commonMain/src/kotlinx/serialization/ContextualSerializer.kt
Outdated
Show resolved
Hide resolved
core/commonMain/src/kotlinx/serialization/ContextualSerializer.kt
Outdated
Show resolved
Hide resolved
core/commonMain/src/kotlinx/serialization/modules/SerializersModuleCollector.kt
Outdated
Show resolved
Hide resolved
core/commonMain/src/kotlinx/serialization/modules/SerializersModuleBuilders.kt
Show resolved
Hide resolved
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.
👍
core/commonMain/src/kotlinx/serialization/modules/SerializersModule.kt
Outdated
Show resolved
Hide resolved
…odule.kt Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
Via special lambda provider in SerializersModule
Fixes #1407