Skip to content

Unable to apply @Kopy and @Serializable at the same time #120

@jadar

Description

@jadar

First of all, thanks so much for making this library. I discovered it after asking Gemini how to do exactly what this project was doing.

I am trying to see if I can use this in my project. It works fine when applied to non-serializable data classes. If applied alongside @Serializable, the compiler fails with the error message: Compilation failed: Serialization of IrErrorType is not supported anymore.

I use @Serializable for implementing SavedStateHandle in multiplatform code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions