-
-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
using latest library version (2.2.0)
Having NavArgs:
typealias ProjectLayerId = String?
data class CreateMarkerNavArgs(
val projectId: String,
val preselectedLayerId: ProjectLayerId,
)
since i upgraded to kotlin 2.2.0 and ksp to 2.2.0-2.0.2
it breaks the build bc. generated destination does not pick up the nullability from the typealias
public operator fun invoke(
projectId: String,
preselectedLayerId: String, <-- should be nullable
): Direction {
it works fine when using kotlin 2.1.20 and corresponding ksp (2.1.20-1.0.31)
probably a bug/change in KSP?
ofc the nullability inside the typealias maybe not ideal and should probably be a nullable value class instead - still wanted to report that.
jibe-n and justinaskkk
Metadata
Metadata
Assignees
Labels
No labels