compose-destinations icon indicating copy to clipboard operation
compose-destinations copied to clipboard

Generated code isn't internal

Open ghasemdev opened this issue 1 year ago • 0 comments

Hello, one of the issues with using the single-module or multi-module approach is that the generated codes cannot be configured for access levels. I need all generated items to be internal.

ksp {
   arg("compose-destinations.isInternal", "true")
}

or

@Destination
@Composable
internal fun ProfileScreen() {
    //...
}

internal object ProfileScreenDestination : TypedDestination<ProfileScreenNavArgs> {
    //...
}

ghasemdev avatar Feb 02 '24 16:02 ghasemdev