I am getting an error when using nestjs-tenancy with mongoose and graphql

I am getting an error when using nestjs-tenancy with mongoose and graphql


0

With basic setup as outlined in the docs https://github.com/needle-innovision/nestjs-tenancy module doesn’t work with nestjs and graphql. After little debugging I found that "getTenantFromRequest" in the TenancyCore module called twice. In first call req was available and I was able to capture the header. But in the second call req was null. Which case tenantId becomes empty.

Has anyone able to get it working?


Load 4 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *