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 hapi plugin losing the scope when a payload is sent #667

Merged
merged 1 commit into from
Sep 4, 2019

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Sep 3, 2019

What does this PR do?

Fix hapi plugin losing the scope when a payload is sent.

Motivation

Scope is lost in the wreck module when it parses the payload since it relies on an event emitter that is not bound. This happens early in the lifecycle of the request so the handler and most extensions would not get the correct scope.

@rochdev rochdev added bug Something isn't working integrations labels Sep 3, 2019
@rochdev rochdev added this to the 0.15.0 milestone Sep 3, 2019
@rochdev rochdev requested a review from a team as a code owner September 3, 2019 20:54
@rochdev rochdev merged commit d882349 into master Sep 4, 2019
@rochdev rochdev deleted the fix-hapi-post-scope branch September 4, 2019 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants