You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We work with non-Wolverine services and have to get/set tenant ID explicitly in many cases.
Describe the solution you'd like
It would be helpful if we could just inject string tenantId or have a special type TenantId that could be injected into HTTP and message handlers.
Describe alternatives you've considered
Getting tenantId from Envelope is fine for message handler, and using IQuerySession in HTTP handlers works. But its creates extra dependencies that we need to create or mock in the unit tests.
The text was updated successfully, but these errors were encountered:
DurinMusicspear
changed the title
Inject tenant id into HTTP handlers or message handler
Inject tenant id into HTTP handlers or message handlers
Oct 24, 2024
Is your feature request related to a problem? Please describe.
We work with non-Wolverine services and have to get/set tenant ID explicitly in many cases.
Describe the solution you'd like
It would be helpful if we could just inject
string tenantId
or have a special typeTenantId
that could be injected into HTTP and message handlers.Describe alternatives you've considered
Getting tenantId from Envelope is fine for message handler, and using IQuerySession in HTTP handlers works. But its creates extra dependencies that we need to create or mock in the unit tests.
The text was updated successfully, but these errors were encountered: