Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(sequelize): update constructor define docs #10675

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

papb
Copy link
Member

@papb papb commented Mar 31, 2019

Description of change

Since sequelize.define has started to be called "legacy" and Model.init has been preferred, and since the current implementation of sequelize.define simply calls Model.init internally, I think this minor change in the docs is desirable.

Question: I've added an @link to the .js documentation but I left it as plain-text in the .d.ts documentation, because I didn't see any other @link on the .d.ts files. Should I have done something different? Also please see #10673.

@codecov
Copy link

codecov bot commented Mar 31, 2019

Codecov Report

Merging #10675 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #10675   +/-   ##
=======================================
  Coverage    96.2%    96.2%           
=======================================
  Files          93       93           
  Lines        9011     9011           
=======================================
  Hits         8669     8669           
  Misses        342      342
Impacted Files Coverage Δ
lib/sequelize.js 96.27% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update abfe7e5...b78b0cd. Read the comment docs.

@eseliger eseliger merged commit 4ec86a4 into sequelize:master Apr 1, 2019
@papb papb deleted the patch-1 branch April 1, 2019 01:52
@sushantdhiman
Copy link
Contributor

🎉 This PR is included in version 5.2.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

ALiangLiang pushed a commit to ALiangLiang/sequelize that referenced this pull request Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants