Finbuckle.MultiTenant icon indicating copy to clipboard operation
Finbuckle.MultiTenant copied to clipboard

Unclear IMultiTenantStore.GetAllAsync(take,skip) method in 9.2

Open ChristophHornung opened this issue 6 months ago • 1 comments

I am using my own custom implementation of IMultiTenantStore, after updating to 9.2. the method GetAllAsync(int take, int skip) was added. How are implementations expected to implement this? What ordering of the should be used in regards to ITenantInfos in the take/skip? So far I don't even see any caller of that method, why was it added?

ChristophHornung avatar Jun 17 '25 12:06 ChristophHornung

Hi, you an implement simply with a not implemented exception of you don’t need the functionality. I probably should add that to the interface as the default implementation. It was added because in certain implementers pulling all tenants at once causes issues with large numbers of tenants. It’s modeled after similar methods in LINQ that extend Ienumerable.

AndrewTriesToCode avatar Jun 19 '25 17:06 AndrewTriesToCode