-
Notifications
You must be signed in to change notification settings - Fork 2.2k
(refactor): 4477 nnnnat reaction error #4494
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
Conversation
…n methods/template
… contextMenu template
…gin no-meteor server code
…gin server methods
…ror class to better match the old Meteor.Error format
…for ReactionError, updated all imports to use the alias
willopez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment regarding moving the error file out of the graphql folder, and conflicts need to be resolved.
| export default class ReactionError extends ExtendableError { | ||
| constructor(error, message, eventData = {}) { | ||
| super(message); | ||
| this.eventData = eventData; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe @aldeed suggested that this file be moved out of the graphql directory...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, I made a copy of it and forgot to remove this one.
|
@willopez this is ready for another look |
willopez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
Resolves #4477
Impact: minor
Type: refactor|chore
Solution
Replaced all
Meteor.ErrorwithReactionError.Testing
docker-compose run reaction npm run test:app