-
Notifications
You must be signed in to change notification settings - Fork 84
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
refactor: typify webhook and migrate from middleware pattern #251
Conversation
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.
some comments! how's writing tests in jest instead of jasmine
f0029df
to
46abbf7
Compare
…discriminator model itself
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! Please tag the TODO before merging :D
res: Response, | ||
next: NextFunction, | ||
) => { | ||
// TODO: Once we move away from the middleware pattern, there should not be a webhook controller |
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 meant as in TODO(#149): ....
but ok la can see reference in github haha
Problem
Partially addresses #144
Solution
pushData
and tests are refactored accordingly