Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-09-2018 06:48 PM
Suppose I want to define a relationship like the following :
a:University -[ENTRY]-> b:Department
OR
a:University -[ENTRY]-> p:Position
How to do this with neo4j-graphql-js ?
09-10-2018 11:29 AM
My main recommendation would be to use properly descriptive relationship-types.
Otherwise you can use two custom mutations that use a @cypher
directive for creating either of these.
09-11-2018 05:10 PM
Okay, let's say I defined the two mutations as below,
addPositionEntry()
addDepartmentEntry()
Now coming back to GraphQL schema level,
University{
entry: // Here I want the relationship data to come whether it's from addPositionEntry or addDepartmentEntry
}
How should I do this?
04-24-2019 02:19 AM
This post is old. Were you able to figure out how to do this?
I found https://github.com/thepiperpied/palm-tree/blob/b1d16ac52950a220bdfde60fd25b760a6f58e9d5/graphql-sche... from other post but how do I send both objects as argument instead of ids?
All the sessions of the conference are now available online