Skip to content

Suggestion: Remove all aliases in v5 #9372

Description

@SimonSchick

Not sure if I'm too late here but over the years Sequelize has create many many aliases functions. I think it would be a good idea to remove the aliases with the next major release.

  • find vs. findOne
  • findById vs. findByPrimary
  • afterBulkDestroy vs afterBulkDelete
  • addHook v. hook
  • VIRTUAL vs NONE

Edit: Formatting

Activity

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

    breaking changeFor issues and PRs. Changes that break compatibility and require a major version increment.good first issueFor issues. An issue that is a good choice for first-time contributors.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions