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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(model:create): Add option to create ES6 class model #709

Open
wants to merge 1 commit into
base: master
from

Conversation

1 participant
@HugoDF

HugoDF commented Nov 1, 2018

Sequelize CLI master tests aren't passing (some issue with the enum changes) so this is branching from 5.2.0, happy to rebase/merge and double-check tests are passing once that's sorted.

Also feel free to close this and the associated issue #678 as a "won't do" 馃槃

  • Add a class-model template that uses an ES6 class (extends Sequelize.Model)
  • Add --class option to args parser.
  • Use class-model template when --class passed.
  • Add tests for --class option.
Add class model generation
Add a class-model template that uses an ES6 class.
Add --class option to args parser.
Use class-model template when --class passed.
Add tests for --class option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment