Skip to content

v6: modernize codebase/tests/docs with use of async function #11859

Closed

Description

@sushantdhiman

To-do

  • refactor/docs
  • refactor/integration/tests
  • refactor/unit/tests
  • refactor/lib/extra files, helpers (non core stuff)
  • refactor/lib/dialects/abstract
  • refactor/lib/dialects/mssql
  • refactor/lib/dialects/mariadb
  • refactor/lib/dialects/mysql
  • refactor/lib/dialects/sqlite
  • refactor/lib/dialects/postgres
  • refactor/lib/transaction
  • refactor/lib/associations
  • refactor/lib/queryInterface
  • refactor/lib/sequelize
  • refactor/lib/model
  • refactor/lib/anything else

Verify

  • docs
  • code
  • tests

Activity

  1. added
    type: refactor
    docs
    on Jan 23, 2020
  2. added this to the v6 milestone on Jan 23, 2020
  3. self-assigned this
    on Jan 23, 2020
  4. papb commented on Jan 23, 2020

    @papb
    Member

    Docs already use async everywhere after my PR :)

  5. jedwards1211 commented on Apr 5, 2020

    @jedwards1211
    Contributor

    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

  6. sushantdhiman commented on Apr 5, 2020

    @sushantdhiman
    ContributorAuthor

    Yes with async await we no longer need to use Bluebird, so removing Bluebird is the first step in this modernization effort

  7. sushantdhiman commented on May 22, 2020

    @sushantdhiman
    ContributorAuthor

    I think async conversion is complete now, so closing this issue. Thank you @jedwards1211 for this great refactor

  8. jedwards1211 commented on May 22, 2020

    @jedwards1211
    Contributor

    Thanks for your hard work maintaining Sequelize!

  9. papb commented on May 23, 2020

    @papb
    Member

    Thank you very much @jedwards1211 !!

  10. removed their assignment
    on May 23, 2020
  11. jedwards1211 commented on May 23, 2020

    @jedwards1211
    Contributor

    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

  12. papb commented on May 24, 2020

    @papb
    Member

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docstype: refactor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions