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

Error when using nestjs-tenancy with @nestjs/graphql #47

Open
kingRayhan opened this issue Feb 28, 2023 · 2 comments
Open

Error when using nestjs-tenancy with @nestjs/graphql #47

kingRayhan opened this issue Feb 28, 2023 · 2 comments

Comments

@kingRayhan
Copy link

I'm currently working on a multi-tenancy backend using NestJS, GraphQL, and MongoDB. I came across the nestjs-tenancy package and it works great for implementing multi-database multi-tenancy. However, I'm running into an error when using this package with @nestjs/graphql.

The error message I'm seeing is req.get is not a function. I've tried troubleshooting the issue but haven't been able to find a solution yet. I believe this error is related to the interaction between nestjs-tenancy and @nestjs/graphql.

image

@sandeepsuvit
Copy link
Contributor

Hi @kingRayhan thanks for writing in. We don't have graphql support implemented for this library yet.

@ntheanh201
Copy link

Hi @kingRayhan I also implemented it with GraphQL but my problem was I couldn't handle any GraphQL requests, the only thing I can see is all the RestfulAPI requests are coming through this lib. Could you fix it?

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

3 participants