Open priyankasyal opened 12 months ago
You can write your own middleware and call TrySetTenantInfo() function attachted to HttpConntext to manually set TenantInfo or you could manually attach TenantInfo to your DbContext if you have reference to TenantInfo in your DbContext.
Hi turkysha,
I am using below modules in FinBuckle
While implementation I have noticed that for every incoming requests API call was initiated to get tenant details. But I am expecting as, once tenant details was retrieved it needs to be reused for upcoming requests, instead of initiating another API call for getting same tenant details.
Can you confirm,
Please share your suggestion on this requirement. Thanks in advance.
@kesavan-m-19 and @priyankasyal
Check out PR #805 if contains an echo store which is kind of a dummy store that returns a tenant info with the identifier set and no db or api calls.
Hi, I have a use-case where I have different use-cases for injecting tenant information as follows:
Is there a way to solve the second issue? I am pretty new to using finbuckle so I might be missing something here. Thanks Priyanka