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
{{ message }}
Repository navigation
v6: modernize codebase/tests/docs with use of async function #11859
docsFor issues and PRs. Things related to documentation, such as changes in the manuals / API reference.type: refactorDEPRECATED: replace with the "meta" issue type
Just to double check, the plan is to stop using Bluebird-specific functions with async/await right? Because Promises returned by async methods won't have Bluebird methods on them unless we overwrite Promise globally...
A lot of the benefits of Bluebird's API disappear when using to async/await anyway
My pleasure!
Is there an issue somewhere with details how you all want to convert to ES modules?
That's something I could do pretty quickly with jscodeshift as well
@jedwards1211 I personally still prefer CommonJS style for now... I think the next big conversion can be to TypeScript, no need for an intermediate conversion to ES modules in my opinion.
docsFor issues and PRs. Things related to documentation, such as changes in the manuals / API reference.type: refactorDEPRECATED: replace with the "meta" issue type
Activity
papb commentedon Jan 23, 2020
Docs already use
asynceverywhere after my PR :)jedwards1211 commentedon Apr 5, 2020
Just to double check, the plan is to stop using Bluebird-specific functions with async/await right? Because
Promises returned byasyncmethods won't have Bluebird methods on them unless we overwritePromiseglobally...A lot of the benefits of Bluebird's API disappear when using to
async/awaitanywaysushantdhiman commentedon Apr 5, 2020
Yes with async await we no longer need to use Bluebird, so removing Bluebird is the first step in this modernization effort
refactor: replace bluebird .git
refactor: replace bluebird .each
sushantdhiman commentedon May 22, 2020
I think
asyncconversion is complete now, so closing this issue. Thank you @jedwards1211 for this great refactorjedwards1211 commentedon May 22, 2020
Thanks for your hard work maintaining Sequelize!
papb commentedon May 23, 2020
Thank you very much @jedwards1211 !!
jedwards1211 commentedon May 23, 2020
My pleasure!
Is there an issue somewhere with details how you all want to convert to ES modules?
That's something I could do pretty quickly with jscodeshift as well
papb commentedon May 24, 2020
@jedwards1211 I personally still prefer CommonJS style for now... I think the next big conversion can be to TypeScript, no need for an intermediate conversion to ES modules in my opinion.