Thread
#serialization
    r

    rnentjes

    1 year ago
    Hi, documentation for serialization seems to be out of date, is that correct? For example: https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/polymorphism.md This doesn't work anymore with 1.0.0:
    val module = SerializersModule {
        polymorphic(Project::class) {
            subclass(OwnedProject::class)
        }
    }
    Is there up to date documentation somewhere?
    s

    sandwwraith

    1 year ago
    what do you mean by 'doesn't work'?
    r

    rnentjes

    1 year ago
    The polymorphic function couldn't be found by intellij, probably because of the double dependencies I had. Works now, thx!