Skip to content

Conversation

@aldeed
Copy link
Contributor

@aldeed aldeed commented Aug 6, 2018

Impact: minor
Type: bugfix

Issue

In GraphQL response, CartItem.currentQuantity is always null.

Solution

It now uses the correct lookup and CartItem.currentQuantity is the correct number.

Breaking changes

None

Testing

Do a GraphQL cart query or createCart mutation asking for currentQuantity of the items, and verify that it is present and correct.

@aldeed aldeed added this to the Jupiter milestone Aug 6, 2018
@aldeed aldeed self-assigned this Aug 6, 2018
@aldeed aldeed requested a review from mikemurray August 6, 2018 16:42
@aldeed aldeed changed the base branch from master to release-1.15.0 August 6, 2018 16:43
Copy link
Member

@mikemurray mikemurray left a comment

Choose a reason for hiding this comment

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

👍

@mikemurray
Copy link
Member

Waiting for tests to pass before merging, but everything looks good so far.

@mikemurray mikemurray merged commit 6e277f2 into release-1.15.0 Aug 6, 2018
@mikemurray mikemurray deleted the fix-aldeed-cart-currentQuantity branch August 6, 2018 17:01
@spencern spencern mentioned this pull request Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants