nestjs-query
nestjs-query copied to clipboard
Nest can't resolve dependencies of the DefaultAuthorizer
Trying to test the getting started example
However, when I try to run the app it throws this error
Nest can't resolve dependencies of the DefaultAuthorizer (?, TodoItemDTOCustomAuthorizer). Please make sure that the argument ModuleRef at index [0] is available in the NestjsQueryGraphQLModule context.
Potential solutions:
- If ModuleRef is a provider, is it part of the current NestjsQueryGraphQLModule?
- If ModuleRef is exported from a separate @Module, is that module imported within NestjsQueryGraphQLModule?
@Module({
imports: [ /* the Module containing ModuleRef */ ]
})
Note: for now I'm just following the starter example, no auth implemented.