Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow addedAt override in add to wishlist and add to cart #217

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

callumhemming
Copy link
Contributor

@callumhemming callumhemming commented Sep 20, 2024

Sets default of addedAt in cart,
Allows override to be passed in cart
Allows override to be passed in wishlist

This is important as we order line items on the addedAt value, when we exchange a line item, we pass the addedAt value to preserve the order and need to test this

Copy link

changeset-bot bot commented Sep 20, 2024

🦋 Changeset detected

Latest commit: 3165522

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@labdigital/commercetools-mock Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@okkevandereijk okkevandereijk merged commit d5709d1 into labd:main Sep 20, 2024
2 checks passed
@github-actions github-actions bot mentioned this pull request Sep 20, 2024
okkevandereijk pushed a commit that referenced this pull request Sep 20, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @labdigital/commercetools-mock@2.31.2

### Patch Changes

- [#217](#217)
[`d5709d1`](d5709d1)
Thanks [@callumhemming](https://github.com/callumhemming)! - allows
addedAt override in add to cart and add to wishlist

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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