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(Model.init): set correct path for validate option. #10237

Merged
merged 1 commit into from Dec 7, 2018

Conversation

@farisn
Copy link
Contributor

@farisn farisn commented Dec 6, 2018

docs(Model.init): set correct path for validate option.

@sushantdhiman
Copy link
Contributor

@sushantdhiman sushantdhiman commented Dec 6, 2018

Are you sure about this! I dont remember attribute.column.validate to be a thing, but attribute.validate is pretty important? You might have got this idea from other attributes.column.* thingies?

@farisn
Copy link
Contributor Author

@farisn farisn commented Dec 6, 2018

In documentation attributes is first argument of Model.init method. attributes.column is property of attributes argument, where column is a attribute name. Finally, the attributes.column.validate is the object for the validation of the attribute.
What's wrong with it?

@sushantdhiman sushantdhiman merged commit 2c6b6e5 into sequelize:master Dec 7, 2018
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants