Precise-Finance / nestjs-mindsdb

MindsDb Module for nestjs
Apache License 2.0
3 stars 1 forks source link

Feature: `forFeature` to define models in other modules #1

Open Alexnortung opened 6 months ago

Alexnortung commented 6 months ago

In Nestjs a module can have a forRoot static function which the mindsdb module has in this project. However some of these modules can also be called with the forFeature static method to add only a couple of new parts. A good example is the typeOrm module. Docs

I would like something similar, such that I can have my main configuration of mindsdb in one module and in some sub modules I can define different models that are associated with what the module is doing.

danshapir commented 6 months ago

Feel free to open a pull request.