Hello everyone, I am unable to access data object ...
# multiplatform
a
Hello everyone, I am unable to access data object declared in sealed class of kotlin in the swift code. What can I be missing? Code added in comments
Kotlin:
Copy code
interface GetStartedComponent {

    fun performAction(action: Action)

    sealed interface Action {
        data object NavigateToOnboarding: Action
    }
}
In iOS, getting compile time error
m
Cant find the official docs but this is a known incompatibility
a
Thank you for the link. I didn't know about incompatibility. Will try this tonight