Join Slack
Are serial descriptors generated by the compiler plugin mutable?
# serialization
i
Ivan Đorđević
05/21/2021, 8:36 AM
Are serial descriptors generated by the compiler plugin mutable?
b
Ben Woodworth
05/21/2021, 2:32 PM
It looks effectively immutable, since all the mutators are internal (and don't seem to be used after it's built)
https://github.com/Kotlin/kotlinx.serialization/blob/2f4d91c93172b8195b42e765037184aedb0fc04e/core/commonMain/src/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.kt
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by