You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the neo4j database the person has a relation of 'LIKES' to a 'Skill'
When I fetch the Person via (read or where) it maps the specific 'Skill' to a 'Perk' instead so I incorrectly get this object { "likes_perk": [ "programming" ] }
when what I would expect is { "likes_skill": [ "programming" ] }
I assume this has something to both compositions mapping to the same relation? But I would assume the Seraph model would check the type also before mapping to it "likes_skill" or "likes_perk"
The text was updated successfully, but these errors were encountered:
I have set up the following composition for the Person model
Person.compose(Skill, 'likes_skill', 'LIKES');
Person.compose(Perk, 'likes_perk', 'LIKES');
In the neo4j database the person has a relation of 'LIKES' to a 'Skill'
When I fetch the Person via (read or where) it maps the specific 'Skill' to a 'Perk' instead so I incorrectly get this object
{ "likes_perk": [ "programming" ] }
when what I would expect is
{ "likes_skill": [ "programming" ] }
I assume this has something to both compositions mapping to the same relation? But I would assume the Seraph model would check the type also before mapping to it "likes_skill" or "likes_perk"
The text was updated successfully, but these errors were encountered: