You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Documentation Request
APP_* providers (eg: a provider for APP_GUARD) work very differently from other custom providers. For example, you can register multiple providers for them, eg:
I'm submitting a...
Documentation Request
APP_* providers (eg: a provider for APP_GUARD) work very differently from other custom providers. For example, you can register multiple providers for them, eg:
They also are not "real" providers, in the sense that they can't be retreived from the DI container, eg this will return an error:
For me it was kind of confusing, until I read the source code:
https://github.com/nestjs/nest/blob/master/packages/core/scanner.ts#L491
It might be worth to update the custom providers documentation with some more details about these.
The text was updated successfully, but these errors were encountered: