davidyoung
03/05/2018, 11:36 PMtype Plan @model {
...
previousPlan: Plan @relation(name: "PreviousPlan")
}
When I try to run a create mutation adding previousPlanId it says I'm trying to reference a node that doesn't exist, even though it does. Is that relation right? Not sure what to do when it's a one-to-one relation of the same type.
"message": "You are referencing a node that does not exist. Please check your mutation to make sure you are only creating edges between existing nodes. Id if available: cjeeupwo2j3k30195shnsex1h",
"requestId": "eu-west-1:simple:cjeev4hwtl1g50115l8rdpa3d"