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

Fixed regression with serialization using list parametrized with contextual types #2331

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

shanshin
Copy link
Contributor

Fixes #2323

In the current implementation of serializer lookup caching, if the serializer for the parameter was not found, the serializerOrNull function always returned null, without further searching for contextual serializers in the current SerializersModule.

…extual types

Fixes #2323

In the current implementation of serializer lookup caching, if the serializer for the parameter was not found, the `serializerOrNull` function always returned null, without further searching for contextual serializers in the current SerializersModule.
@shanshin shanshin merged commit 881e7a9 into dev Jun 13, 2023
@shanshin shanshin deleted the fix-generic-contextual branch June 13, 2023 13:13
woainikk pushed a commit that referenced this pull request Jun 20, 2023
…extual types (#2331)

Fixes #2323

In the current implementation of serializer lookup caching, if the serializer for the parameter was not found, the `serializerOrNull` function always returned null, without further searching for contextual serializers in the current SerializersModule.
JesusMcCloud pushed a commit to a-sit-plus/kotlinx.serialization that referenced this pull request Jul 5, 2023
…extual types (Kotlin#2331)

Fixes Kotlin#2323

In the current implementation of serializer lookup caching, if the serializer for the parameter was not found, the `serializerOrNull` function always returned null, without further searching for contextual serializers in the current SerializersModule.
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