Skip to content

Conversation

@Faris-Nasybulin
Copy link
Contributor

@Faris-Nasybulin Faris-Nasybulin commented Dec 6, 2018

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

@sushantdhiman
Copy link
Contributor

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?

@Faris-Nasybulin
Copy link
Contributor Author

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants