feathers-plus / cli

FeathersJS CLI supporting both REST and GraphQL architectural concepts and their query languages.
https://generator.feathers-plus.com/
Other
43 stars 7 forks source link

[Question] "mongo" & "sequelize" files for "mongoose"? #35

Closed J05HI closed 5 years ago

J05HI commented 5 years ago

Why does the CLI generate the "x.mongo.xx" & "x.sequelize.xx" files if I choose "mongoose"?

image

image

eddyystop commented 5 years ago

One of FeathersJS features is being able to switch between different DBs. cli+ supports this by creating modules for multiple DBs. This allows you to add custom code for each DB and not lose it when you switch DBs.

J05HI commented 5 years ago

@eddyystop Thanks for the fast response! So I can delete them if I don't need multi db support.

eddyystop commented 5 years ago

You can delete them. Dome commands may recreate them unless you freeze them in feathers-gen-soecs.json in options.freeze

J05HI commented 5 years ago

@eddyystop Amazing! The freeze option is what I'm looking for :)