I have this error when I try to disconnect a node that is not connected (= null).
"The relationship EqLogicOnEqReal has no node for the model EqLogic with the value 'xxxxx' for the field 'id' connected to a node for the model EqReal on your mutation path. '
The form on the frontend sends to the application layer backend (graphql-yoga) includes all the fields, for example:
{name: "Blablabla", eqReal: null}
eqReal === null ? {disconnect: true} : {connect: {id: eqReal}}
Is there a way to not have the error? other than to check before with a query that the realation is already disconnected?
Thank you!