Skip to content

Conversation

@sushmitha-malae
Copy link
Contributor

@sushmitha-malae sushmitha-malae commented Oct 18, 2022

Signed-off-by: Sushmitha Malae [email protected]

Resolves #6508
Impact: minor
Type: bugfix

Issue

The updateSurcharge Mutation will only return the updated fields instead of returning the full item from db

Solution

Returning the updated full document instead of the partially updated fields.

Breaking changes

None

Testing

Modified the existing utc, to test the change.

More detail for what each of these sections should include are available in our Contributing Docs. This project uses semantic-release, please use their commit message format..

@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2022

🦋 Changeset detected

Latest commit: 135c54e

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

This PR includes changesets to release 1 package
Name Type
@reactioncommerce/api-plugin-surcharges 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

@sushmitha-malae
Copy link
Contributor Author

@delagroove Please review the changes, Thanks!

@brent-hoover brent-hoover requested a review from vanpho93 October 18, 2022 10:25
@delagroove
Copy link
Contributor

@brent-hoover
Copy link
Collaborator

@sushmitha-malae You have failing tests here

@sushmitha-malae
Copy link
Contributor Author

having some problem with the sign off on the commits, raised duplicate PR. Closing this.

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.

updateSurcharge should return the full item from db

3 participants