-
Notifications
You must be signed in to change notification settings - Fork 154
Problem with relationships with properties #251
Comments
I researched this topic further and it seems like this might be a problem on the driver side. So the idea would be to create an entry like this for each passed parameter if its an object: |
Hey @mayrmax - are you getting an error when running this GraphQL mutation? Or is the graph just not updating as expected? If you're seeing an error could you add it here? I think you might have the id fields mixed up in your mutation. In the case of the
Could you give that a try and let us know if it works? |
Hey, thanks for the reply. It's just not updating correctly. Thanks |
Well, it works I have no idea how I could miss that. Thank you very much! |
Hello,
first of all, thank you for this great library it really makes working with GraphQL a wonderful and easy thing.
I started to experiment with it a few days ago but got stuck on relationships with properties.
Schema GQL:
GraphQL Query:
Resulting Query (Debug output):
If I manually run the on neo4j it works as expected. Is there a problem with resolving nested variables? The $from.id part looks suspicious to me. And if so can somebody point me in the right direction so I can create a PR?
Best regards,
Max
The text was updated successfully, but these errors were encountered: