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
TypeError: Cannot convert undefined or null to object #27
Comments
Works for me. Can you provide an example repo? |
Further debugging shows it's probably caused by not-yet resolved dependency... It uses a resolver which returns a Promise and the error pasted here occurs before and Promise is resolved and instance of that service (for RabbitMQ) is |
The problem in our application was that GraphQL schema creation had been placed in a constructor of module instead of |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have seen those similar issues nestjs/nest#484, nestjs/nest#488 and they seem to be resolved. However, I am on @nestjs/graphql v3.0.0, @nestjs/common and /core v5.0.0 and the following code:
where
mergedTypes
is exactly:fails with stack trace:
Any ideas? Thanks in advance!
The text was updated successfully, but these errors were encountered: