Skip to content

Commit 863d178

Browse files
author
Vitaliy Boyko
committed
graphQl-890: fixed deprecation messages
1 parent 77e3a9c commit 863d178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/QuoteGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,15 @@ type ShippingCartAddress implements CartAddressInterface {
220220
available_shipping_methods: [AvailableShippingMethod] @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\ShippingAddress\\AvailableShippingMethods")
221221
selected_shipping_method: SelectedShippingMethod @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\ShippingAddress\\SelectedShippingMethod")
222222
customer_notes: String
223-
items_weight: Float @deprecated
223+
items_weight: Float @deprecated(reason: "This information shoud not be exposed on frontend")
224224
cart_items: [CartItemInterface]
225225
}
226226

227227
type BillingCartAddress implements CartAddressInterface {
228228
customer_notes: String @deprecated (reason: "The field is used only in shipping address")
229229
}
230230

231-
type CartItemQuantity @deprecated(reason: "Use CartItemInterface instead") {
231+
type CartItemQuantity @deprecated(reason: "All fields in CartItemQuantity should be deprecated (so this type can be completely removed in the future releases)") {
232232
cart_item_id: Int!
233233
quantity: Float!
234234
}

0 commit comments

Comments
 (0)