moleculer-db
moleculer-db copied to clipboard
moleculer-db-adapter-mongoose: Breaks when using model from external package
When I import a model from another package, functionality breaks because the external model will have it's own instance of mongoose and own connection. I suppose this can be solved by using the connection in the external model instead, or by setting the external models connection to the internals one.
because mongoose does not allow to do