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

Prefix descriptor names of custom serializers #980

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

nielsvanvelzen
Copy link
Member

The kotlinx.serialization library added a new UUID serializer in 1.7.2 for the (experimental) UUID type in the Kotlin stdlib. Unfortunately this causes an issue, their serializer uses the same (simple-)name as ours, causing an exception when trying to encode/decode JSON.

The fix is two-sides, they'll fix their side to use more strict name validation. And we'll fix it to use a more unique name. On the upside, this will also improve the experience for users of the SDK, as they will also be less likely to have a serializer with a name we also use.

@nielsvanvelzen nielsvanvelzen added enhancement New feature or request backport labels Aug 29, 2024
@nielsvanvelzen nielsvanvelzen added this to the v1.6.0 milestone Aug 29, 2024
@nielsvanvelzen nielsvanvelzen marked this pull request as ready for review August 29, 2024 15:24
@nielsvanvelzen nielsvanvelzen merged commit c8291f6 into jellyfin:master Aug 29, 2024
11 checks passed
@nielsvanvelzen nielsvanvelzen deleted the serializer-names branch August 29, 2024 19:44
@nielsvanvelzen nielsvanvelzen modified the milestones: v1.6.0, v1.5.5 Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants