website icon indicating copy to clipboard operation
website copied to clipboard

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

Open mschipperheyn opened this issue 3 years ago • 1 comments

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.
  • [x] 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.

mschipperheyn avatar Nov 21 '22 12:11 mschipperheyn

I've transferred this to our docs repo, but it's certainly a valid report. We'll look into it!

WikiRik avatar Nov 21 '22 12:11 WikiRik