Skip to content

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 requested a review from sandwwraith June 12, 2023 13:16
@shanshin shanshin requested a review from sandwwraith June 13, 2023 12:32
@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.

3 participants