Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

graphQl-890: Replaced usage of the CartItemQuantity with the CartItem… #899

Conversation

VitaliyBoyko
Copy link
Contributor

…Interface

Description (*)

Replaced usage of the CartItemQuantity with the CartItemInterface in the GraphQl scheme.

Fixed Issues (if relevant)

  1. [Checkout] Replace usage of CartItemQuantity with CartItemInterface #890: [Checkout] Replace usage of CartItemQuantity with CartItemInterface

@magento-engcom-team
Copy link
Contributor

Hi @lenaorobei, thank you for the review.
ENGCOM-5772 has been created to process this Pull Request
✳️ @lenaorobei, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

Copy link
Contributor

@lenaorobei lenaorobei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please pull latest changes from 2.3-develop

…temQuantity-with-CartItemInterface' of github.com:magento/graphql-ce into GraphQl-890-Replaced-usage-of-CartItemQuantity-with-CartItemInterface

# Conflicts:
#	app/code/Magento/QuoteGraphQl/etc/schema.graphqls
@VitaliyBoyko
Copy link
Contributor Author

@lenaorobei Done

Copy link
Contributor

@lenaorobei lenaorobei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address comments.

customer_notes: String
items_weight: Float @deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add reason here.

}

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

type CartItemQuantity {
type CartItemQuantity @deprecated(reason: "Use CartItemInterface instead") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the ticket:

All fields in CartItemQuantity should be deprecated (so this type can be completely removed in the future releases)

Vitaliy Boyko added 2 commits September 27, 2019 10:24
…temQuantity-with-CartItemInterface' of github.com:magento/graphql-ce into GraphQl-890-Replaced-usage-of-CartItemQuantity-with-CartItemInterface
@VitaliyBoyko VitaliyBoyko added Contribution Day Tickets is good for start on Contribution Day Event: mageconf19 MageConf 2019 Contribution Day labels Sep 27, 2019
Copy link
Contributor

@lenaorobei lenaorobei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add test case to check shipping_addresses field.

@ghost
Copy link

ghost commented Oct 31, 2019

Hi @VitaliyBoyko, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants