Skip to content

Commit

Permalink
graphQl-890: fixed deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy Boyko committed Sep 27, 2019
1 parent 77e3a9c commit 863d178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/QuoteGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@ 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]
}

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!
}
Expand Down

0 comments on commit 863d178

Please sign in to comment.