From 863d178be4baf88fffc7b252c0a92f6edb0410e5 Mon Sep 17 00:00:00 2001 From: Vitaliy Boyko Date: Fri, 27 Sep 2019 10:57:22 +0300 Subject: [PATCH] graphQl-890: fixed deprecation messages --- app/code/Magento/QuoteGraphQl/etc/schema.graphqls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/QuoteGraphQl/etc/schema.graphqls b/app/code/Magento/QuoteGraphQl/etc/schema.graphqls index 2edb3f1e196ab..cd72e90344c6f 100644 --- a/app/code/Magento/QuoteGraphQl/etc/schema.graphqls +++ b/app/code/Magento/QuoteGraphQl/etc/schema.graphqls @@ -220,7 +220,7 @@ type ShippingCartAddress implements CartAddressInterface { available_shipping_methods: [AvailableShippingMethod] @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\ShippingAddress\\AvailableShippingMethods") selected_shipping_method: SelectedShippingMethod @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\ShippingAddress\\SelectedShippingMethod") customer_notes: String - items_weight: Float @deprecated + items_weight: Float @deprecated(reason: "This information shoud not be exposed on frontend") cart_items: [CartItemInterface] } @@ -228,7 +228,7 @@ type BillingCartAddress implements CartAddressInterface { customer_notes: String @deprecated (reason: "The field is used only in shipping address") } -type CartItemQuantity @deprecated(reason: "Use CartItemInterface instead") { +type CartItemQuantity @deprecated(reason: "All fields in CartItemQuantity should be deprecated (so this type can be completely removed in the future releases)") { cart_item_id: Int! quantity: Float! }