Last active
December 11, 2020 14:52
-
-
Save roytouw7/600e341c634594e52287f64d47565de0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation { | |
createProduct(data:{ | |
name: "Apple", | |
price: { | |
create: [ | |
{ | |
price: 1.20, | |
store: { | |
create: { | |
name: "Jumbo" | |
} | |
} | |
}, { | |
price: 3.70, | |
store: { | |
create: { | |
name: "Lidl" | |
} | |
} | |
} | |
], | |
}, | |
}) { | |
name | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment