Enterprise Grade #NodeJS Platform implementing Industry Standards & Patterns in order to provide Connectivity, Stability, High-Availability and High-Performance
Since registering a model might have specifics, like registering relationships, doing that within the datasource would be an antipattern, therefore it requires to migrate the build of model to the decorator, so model specific implementations are within the same model file.
Since registering a model might have specifics, like registering relationships, doing that within the datasource would be an antipattern, therefore it requires to migrate the build of model to the decorator, so model specific implementations are within the same model file.