-
Notifications
You must be signed in to change notification settings - Fork 6
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
Serialization opt-ins #77
Comments
LVMVRQUXL
added
security
Security vulnerabilities.
common
Item related to all platforms.
labels
May 16, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 1, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 1, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 1, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 1, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 1, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 1, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 2, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 2, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 2, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 2, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 2, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 2, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 5, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 5, 2023
Impacted types: NotEmptyList, NotEmptyMap and NotEmptySet.
LVMVRQUXL
added a commit
that referenced
this issue
Jun 5, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Jun 5, 2023
Impacted types: NotEmptyList, NotEmptyMap and NotEmptySet.
LVMVRQUXL
added a commit
that referenced
this issue
Jun 5, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Mar 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In the
build.gradle.kts
file, we opt-in at the module level the experimental API of the kotlinx.serialization library.languageSettings.optIn("kotlinx.serialization.ExperimentalSerializationApi")
But this is a bad idea because it simply removes all warning about these usages that could break at any point in time.
This way of disabling warnings linked to the use of experimental APIs also doesn't communicate the real stability of a declaration to consumers.
This is why we decide to remove this compiler argument for communicating the usage of an experimental API at the declaration level, by propagating the experimental annotation or marking the declaration with an
Opt-in
annotation.Like suggested by the Kotlin team, we should choose between propagating an experimental annotation or marking a declaration with an
Opt-in
annotation:Checklist
Unreleased
section in changelog.The text was updated successfully, but these errors were encountered: