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

Drop bluebird #1125

Merged
merged 5 commits into from
Sep 29, 2020
Merged

Drop bluebird #1125

merged 5 commits into from
Sep 29, 2020

Conversation

TrySound
Copy link
Contributor

Using bluebird for promisifying is a bit overhead. Especially since the
package is quite massive. https://packagephobia.com/result?p=bluebird

In this diff I replaced Bluebird.promisifyAll with custom promisifying
specifically for services methods instead of all class methods.

@coveralls
Copy link

coveralls commented Sep 29, 2020

Coverage Status

Coverage increased (+0.01%) to 94.895% when pulling 117c059 on TrySound:drop-bluebird into 3e49710 on vpulim:master.

Using bluebird for promisifying is a bit overhead. Especially since the
package is quite massive. https://packagephobia.com/result?p=bluebird

In this diff I replaced Bluebird.promisifyAll with custom promisifying
specifically for services methods instead of all class methods.
@TrySound TrySound marked this pull request as draft September 29, 2020 20:42
@TrySound TrySound marked this pull request as ready for review September 29, 2020 21:19
@jsdevel jsdevel merged commit 5fc0710 into vpulim:master Sep 29, 2020
@Biktop
Copy link

Biktop commented Jan 12, 2021

This pull request broke async methods without parameters. Now I have to pass empty object as workaround.

@jsdevel
Copy link
Collaborator

jsdevel commented Jan 12, 2021

@Biktop can you submit a pr?

@Biktop
Copy link

Biktop commented Jan 13, 2021

Sorry but I don't think that I'm able to do it. I've just discussed this workaround on gitter and tested it.

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

Successfully merging this pull request may close these issues.

4 participants