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

Support Kotlin inline/value classes #109

Open
ZacSweers opened this issue May 6, 2021 · 3 comments
Open

Support Kotlin inline/value classes #109

ZacSweers opened this issue May 6, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ZacSweers
Copy link
Owner

Mirroring square/moshi#1170

We should probably try to match how kotlinx-serialization treats them: https://youtrack.jetbrains.com/issue/KT-28791

@ZacSweers ZacSweers added the enhancement New feature or request label May 6, 2021
@ZacSweers
Copy link
Owner Author

This will be kind of supported in the next release, but only if no default value is defined for the property. More work would be needed to fully support it, as inline classes have different generated bytecode.

@ZacSweers
Copy link
Owner Author

Also TBD is kotlin-reflect and metadata-reflect support

@amichne
Copy link

amichne commented Jun 16, 2022

Wanted to follow up on this and see if it was indeed added, as I can't find it in the release notes, and if so which release it was added in.

I think per this ticket it's likely not been added, but wanted to confirm and keep this issue up-to-date! Thanks in advance!

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

No branches or pull requests

2 participants