Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kieckhafer
Copy link
Member

@kieckhafer kieckhafer commented Sep 30, 2019

Impact: minor
Type: feature|refactor

We've moved ReactionError into it's own npm package (https://github.com/reactioncommerce/reaction-error). This PR updates reaction code to install this new package, instead of using an alias for an internal file.

Since we have been using the alias, no changes will need to be made throughout the app, just replacing the alias with an installed package.

Breaking changes

Any code that directly called /imports/utils/ReactionError.js` will need to be updated to use this alias.

Testing

  1. See that error messaging still works in the app. One way to throw an error is to create a new product, then try to Publish to catalog before filling in any data. You should see a Toast alert.

@aldeed aldeed merged commit 979d53c into develop Sep 30, 2019
@aldeed aldeed deleted the feat-kiechafer-use-reactionError-package branch September 30, 2019 19:34
@kieckhafer kieckhafer mentioned this pull request Oct 2, 2019
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.

3 participants