Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useClass is missing when importing the module via forRootAsync #75

Open
vinaybedre opened this issue Oct 13, 2023 · 0 comments
Open

useClass is missing when importing the module via forRootAsync #75

vinaybedre opened this issue Oct 13, 2023 · 0 comments

Comments

@vinaybedre
Copy link

Hi,

As NestJS's dynamic module support using a class instead of only using a factory method, why is useClass missing in the module? Was it deliberately removed? or Was it never implemented?
https://docs.nestjs.com/fundamentals/custom-providers#class-providers-useclass

useClass keeps your main module file free of all details and help for clear modularization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant