You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your use-case and why do you need this feature?
It is cumbersome to have to annotate all classes you want to be able to serialize with @serializable. Switching between for example jackson and kotlinx-serialization is more work. Code without annotations looks cleaner.
Describe the solution you'd like
Some config option to tell the compiler plugin that "mark all classes in packages foo.bar, foo.xyz as serializable", and you would not have to use annotations. If this is not easy to do / less clear, then perhaps a compromise would be to allow a file-level annotation that marks all classes (or all data classes) in that file as serializable (@file:Serializable)
The text was updated successfully, but these errors were encountered:
What is your use-case and why do you need this feature?
It is cumbersome to have to annotate all classes you want to be able to serialize with @serializable. Switching between for example jackson and kotlinx-serialization is more work. Code without annotations looks cleaner.
Describe the solution you'd like
Some config option to tell the compiler plugin that "mark all classes in packages foo.bar, foo.xyz as serializable", and you would not have to use annotations. If this is not easy to do / less clear, then perhaps a compromise would be to allow a file-level annotation that marks all classes (or all data classes) in that file as serializable (
@file:Serializable
)The text was updated successfully, but these errors were encountered: