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

Kotlin: Generate sealed interfaces for tagged objects #80

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

tadfisher
Copy link
Collaborator

sealed class is unnecessary as these types never have constructor arguments. There used to be limitations on the kotlinx.serialization side, but those have been lifted for years now.

@tadfisher tadfisher merged commit c10bf9b into tad/sealed-data-object Mar 11, 2024
10 checks passed
@tadfisher tadfisher deleted the tad/sealed-interface branch March 11, 2024 19:12
@tadfisher tadfisher mentioned this pull request Mar 11, 2024
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.

2 participants