Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-02-2020 09:28 AM
I am getting primary label
errors when I try to use a generic class in my model
@Transient
open class PropNode<T> (
open var value: T? = null,
open var deletedValue: T? = null,
@DynamicLabels
open var labels: Collection<String>,
): Entity()
will generate the error
The schema already contains a node description under the primary label PropNode
Does the mapper create multiple classes from the generic class when it parses the other classes that call the generic and the run into conflicts because each concrete has the same primary label? If so I was under the impression the @Transient
label would prevent that.
Any thoughts or help?
All the sessions of the conference are now available online