Closed mea-licensing closed 4 years ago
@mea-licensing open classes
as relationship types are not working; this was something that was identified a while ago. Sadly I'm not using Kotlin, which makes it difficult for me to figure out whats going on. If you find a solution, please post it here or make it part of the README.md
for others to benefit.
I'm trying to use polymorphic relationships with Kotlin, but when registering the interface type relationship, it fails with:
This is the same issue when trying to use an open class as a relationship type, as the targetType becomes
List<? extends AssetHolder>
Is there a way to use polymorphic relationships with Kotlin?
Relevant code attached