DEV Community

Discussion on: NestJS: Getting Started with SequilizeJS

Collapse
 
delete101020 profile image
delete101020

I wonder why we need to inject the User Model into the service. Because we still can use the model directly? Like User.findAll().