Skip to content

rawAttributes deprecated but still used in Typescript docs (docs) (v7)  #352

@mschipperheyn

Description

@mschipperheyn

Issue Creation Checklist

  • [x ] I understand that my issue will be automatically closed if I don't fill in the requested information
  • [ x] I have read the contribution guidelines

Bug Description

I noticed that the documentation for v7 still uses the static rawAttributes method instead of getAttributes. rawAttributes is deprecated.

Reproducible Example

as of alpha-19

Here is the link to the SSCCE for this issue:

https://sequelize.org/docs/v7/other-topics/typescript/

What do you expect to happen?

The examples should use non deprecated code.

What is actually happening?

It uses deprecated code

Environment

  • Sequelize version: v7.0.0-alpha.19
  • Node.js version: v16
  • If TypeScript related: TypeScript version: v4.8
  • Database & Version: mysql 5.7
  • Connector library & Version: msql2

Would you be willing to resolve this issue by submitting a Pull Request?

  • Yes, I have the time and I know how to start.
  • Yes, I have the time but I will need guidance.
  • No, I don't have the time, but my company or I are supporting Sequelize through donations on OpenCollective.
  • No, I don't have the time, and I understand that I will need to wait until someone from the community or maintainers is interested in resolving my issue.

Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions