-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
classMethods never works #473
Comments
If you check the documentation you can observe that the way of defining class level methods was modified: http://docs.sequelizejs.com/manual/tutorial/models-definition.html#expansion-of-models |
The question is: will sequelize-cli be updated? What's the plan? Is there any way for us to detect which version of sequelize is being used and generate the proper code? |
The cli README could at least be updated to make it clear that it's not compatible with sequelize 4.0.0 and up. |
Readme updated https://github.com/sequelize/cli#sequelize-support |
[nextercism] Refactor interactive stuff into its own package
It seems that "associate" in the following code is never called.
It does not even exist in User.
In fact, all the methods defined in classMethods do not appear in User.
Is that a bug?
The text was updated successfully, but these errors were encountered: