I am trying to map the properties of a node entity to my prop field, but I can't seem to get it work. For some reason, it's always null.
I've tried to follow this: Reference - OGM Library But I am not sure what I am doing wrong.
@NodeEntity
open class Symptom(
@Id
var id: String
)
{
@Relationship(type = "SUGGESTS", direction = Relationship.OUTGOING)
var suggests: MutableSet<SuggestsRel>? = mutableSetOf()
@Properties(allowCast = true)
var prop: MutableMap<String, Any>? = mutableMapOf()
}