Просмотр исходного кода

chore: Fix naming of benchmark queries

Michael Bromley 3 лет назад
Родитель
Сommit
4e029cfd7f

+ 19 - 0
packages/dev-server/load-testing/graphql/admin/get-order-list-expanded.graphql

@@ -9,6 +9,25 @@ query GetOrderList($options: OrderListOptions) {
             subTotalWithTax
             totalWithTax
             shippingWithTax
+            shippingLines {
+                shippingMethod {
+                    id
+                    name
+                }
+                priceWithTax
+            }
+            lines {
+                productVariant {
+                    id
+                    name
+                }
+                featuredAsset {
+                    id
+                    preview
+                }
+                linePriceWithTax
+                quantity
+            }
         }
     }
 }

+ 0 - 19
packages/dev-server/load-testing/graphql/admin/get-order-list.graphql

@@ -9,25 +9,6 @@ query GetOrderList($options: OrderListOptions) {
             subTotalWithTax
             totalWithTax
             shippingWithTax
-            shippingLines {
-                shippingMethod {
-                    id
-                    name
-                }
-                priceWithTax
-            }
-            lines {
-                productVariant {
-                    id
-                    name
-                }
-                featuredAsset {
-                    id
-                    preview
-                }
-                linePriceWithTax
-                quantity
-            }
         }
     }
 }