You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a few applications that have chosen to use bluebird everywhere instead of the native promises. We're able to wrap libraries or set the promise dependencies. We avoid global scopes as our code isn't always running in node and I don't want to pollute the scope. Would you be opposed to a PR that lets people set the promise dependency inside got?
Not something we're interested in exposing, no. You also can't realistically ask every dependency you use to expose such option. Either override global.Promise or Bluebird.resolve(got()). Or you could use a Babel plugin: https://github.com/59naga/babel-plugin-transform-bluebird
I've got a few applications that have chosen to use bluebird everywhere instead of the native promises. We're able to wrap libraries or set the promise dependencies. We avoid global scopes as our code isn't always running in node and I don't want to pollute the scope. Would you be opposed to a PR that lets people set the promise dependency inside
got
?Something like;
or if not per request at least for all of got
The text was updated successfully, but these errors were encountered: