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

add async scope tracking as an official feature enabled by default #664

Merged
merged 4 commits into from
Sep 10, 2019

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Aug 28, 2019

What does this PR do?

Add async scope tracking as an official feature enabled by default.

Motivation

It fixes the scope being lost when using async/await with thenables which include many popular libraries like Bluebird, Knex and Superagent.

Fixes #654

@rochdev rochdev added the core label Aug 28, 2019
@rochdev rochdev requested a review from a team as a code owner August 28, 2019 22:39
rishabh
rishabh previously approved these changes Aug 29, 2019
@rochdev rochdev merged commit 4fa0a75 into master Sep 10, 2019
@rochdev rochdev deleted the track-async-scope branch September 10, 2019 21:03
@rochdev rochdev added this to the 0.16.0 milestone Sep 10, 2019
@sponomarev
Copy link

Dope!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using async/await with thenables (non-native promises) loses the scope
4 participants