Has anyone had trouble with type aliasing java ann...
# multiplatform
b
Has anyone had trouble with type aliasing java annotations with values? I tried to find some examples in the kotlin library but couldn't find any. For instance I have have in common an annotation such as
expect annotation class NodeEntity(val label: String = "")
and on the jvm target
actual typealias NodeEntity = org.neo4j.ogm.annotation.NodeEntity
. The annotation I want to type alias has one field definition of
String label() default "";
. I am getting
Parameter 'label' has conflicting values in the expected and actual annotation
.
u
b
yep, definitely. thanks for the link. Ill upvote it.