Closed gcherem closed 4 years ago
Please provide a minimum reproduction repository.
@kamilmysliwiec , here it is: https://github.com/gcherem/nest-problem-with-include
Hi @kamilmysliwiec, any update on it?
After more tests I became it was due nested modules and I opened a more specific issue [#1148]
Please close this issue, thanks
I'm submitting a...
Current behavior
When I use the
include
property, it doesn't find the resolvers.BTW, I am using schema first approach.
Both endpoints appear at the Playground, but when I run any query, I get the following error:
If I comment out any
GraphQLModule.forRoot
and theinclude
property of the other one, it works (but one endpoint with the whole schema).Expected behavior
All queries should work.
Minimal reproduction of the problem with instructions
Create two
GraphQLModule.forRoot
withinclude
property.app.module.ts
admin.module.ts
public.module.ts
users.gql
users.module.ts
users.resolver.ts
projects.gql
projects.module.ts
projects.resolver.ts
Environment