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

request for enhancement to IMultiTenantStore<TTenantInfo> Task<IQueryable<TTenantInfo>> GetAllAsync() #794

Open
vigouredelaruse opened this issue Mar 12, 2024 · 0 comments

Comments

@vigouredelaruse
Copy link

vigouredelaruse commented Mar 12, 2024

hello

this request is for an addition to the IMultitenantStore interface to support IQueryable responses

this enhancement would support custom store implementations that return filterable results and extend the firehose approach of GetAllAsync()

sample use case
i'm integrating a finbuckle multitenant store that

  • supports multitenant resolution in an app deployed to kubernetes clusters
  • supports tenant resolution from .net core hosted services, injected service layer classes and dbcontexts
  • timer scheduled hydrates the distributed cache store with a potentially dynamic list of 'approved' 'tenants'
  • must expeditiously page through an arbitrary size collection of persisted tenants within a 'reasonable timeframe' while hydrating the distributed cache

an iqueryable api surface would support filtering by scheduled operations against all the tenants hosted by the custom store

felicitations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants