Open devalexandre opened 2 years ago
Thanks the PR, but my problem is that, you created a well-known DB mixin as a default mixin. If I'm a developer and exec moleculer create mixin
I expect, it will be a common skeleton mixin instead of full logic. By the way, most of developers uses project-template which contains this DB mixin, by default.
Thanks the PR, but my problem is that, you created a well-known DB mixin as a default mixin. If I'm a developer and exec
moleculer create mixin
I expect, it will be a common skeleton mixin instead of full logic. By the way, most of developers uses project-template which contains this DB mixin, by default.
I understand, the idea would be not to use the Db Mixin, but to create your own mixin. I will make the necessary changes.
@icebob , I used mongoose to assemble the example, if you have any improvement just leave a comment :)
@icebob any comments?
The problem is that the
mixin
name is regular, but the implementation is not regular and is very specific.
I really didn't understand what you mean
this PR don't is interesting ? @icebob
Create a mixin , using js template and typescript template