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

[Checkout] Replace usage of CartItemQuantity with CartItemInterface #890

Closed
paliarush opened this issue Sep 3, 2019 · 2 comments
Closed
Assignees
Labels
Architects: approved Issue is checked and approved by architecture team. Checkout Contribution Day Tickets is good for start on Contribution Day documentation-completed Fixed in 2.3.x

Comments

@paliarush
Copy link
Contributor

paliarush commented Sep 3, 2019

Acceptance criteria:

  1. ShippingCartAddress has field cart_items, which should return CartItemInterface instead of CartItemQuantity
  2. All fields in CartItemQuantity should be deprecated (so this type can be completely removed in the future releases)
  3. Since CartItemInterface is wider than CartItemQuantity, custom resolver may need to be implemented for the missing fields
  4. Deprecate items_weight in ShippingCartAddress
  5. Changes must be covered with API functional tests
@lenaorobei
Copy link
Contributor

As per discussion with @paliarush and @buskamuza it was decided to introduce cart_items_v2 to keep backward compatibility.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Architects: approved Issue is checked and approved by architecture team. Checkout Contribution Day Tickets is good for start on Contribution Day documentation-completed Fixed in 2.3.x
Projects
None yet
Development

No branches or pull requests

5 participants