A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
When I run the query as a stand alone I get the expect result where it returns the products with just one variant. If I run it via bulkOperationRunQuery it returns every variant of a product instead of just the first one.
Anyone have insights on why this is?
Also its odd to me that it returns the variants as separate entities not encapsulated in the product
mutation { bulkOperationRunQuery(query:""" query { products(query:"status:draft" ) { edges { node { id createdAt status hasOnlyDefaultVariant variants(first:1) { edges { node { sku } } } } } }} """) { bulkOperation { id } } }