Hi,
i am wondering if this is normal, or how is it solvable.
Now the @RelationshipProperties
class cant have a repository and be queried if i understand correctly.
But then when trying to get the relationship from the class with @Node
, where it is saved in a list, it is not getting mapped into the Object.
Using @Query(MATCH()...)
on the repository method(of @Node
class), the field annotated with @Relationship
is NULL, everything else is there, the id and all.
Then using the normal findById, it does get the same object, but with this the relationship is mapped into the @Relationship
field.
Is this the best way to get the relationships, should i query once, then again with a normal spring data method?
Thanks,
Daniel