Hi I'm currently looking at connecting a new node to an existing node, but if there is no existing node then I want to create that too. Is there any way to do that?
Essentially I have:
And I want links to be nodes, so if there is a new
Post sharing a
Link that has been seen before, I'm connecting that new
Post to that existing
Link. Is there a clever way to write a mutation to say "Connect
Link doesn't exist yet, then create
Link and connect them?"