I'm building an admin app to use internally at my company and I followed the "Build a Shopify app with Node and React" tutorial from Shopify. Everything is working great but now I'm at the mutation step and my use case is different from the tutorial and I'm stuck. Here's what I'm trying to do:
I don't see how to dynamically set the mutation string depending on the number of products selected and run all of this inside the Apollo Mutation component. I'm fairly new to React/Apollo/Graphql and I'm struggling to find details for how to accomplish this. If anyone can point me in the right direction it would be appreciated!
|a minute ago|