Skip to content

Commit 795931f

Browse files
committed
magento/graphql-ce#890: [Checkout] Replace usage of CartItemQuantity with CartItemInterface
1 parent 6297199 commit 795931f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ 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: "All fields in CartItemQuantity should be deprecated (so this type can be completely removed in the future releases)") {
232-
cart_item_id: Int!
233-
quantity: Float!
231+
type CartItemQuantity @doc(description:"Deprecated: `cart_items` field of `ShippingCartAddress` returns now `CartItemInterface` instead of `CartItemQuantity`") {
232+
cart_item_id: Int! @deprecated(reason: "`cart_items` field of `ShippingCartAddress` returns now `CartItemInterface` instead of `CartItemQuantity`")
233+
quantity: Float! @deprecated(reason: "`cart_items` field of `ShippingCartAddress` returns now `CartItemInterface` instead of `CartItemQuantity`")
234234
}
235235

236236
type CartAddressRegion {

0 commit comments

Comments
 (0)