using Connected.Entities.Storage; using System.Collections.Immutable; namespace Connected.Data.Sharding; public interface IShardingMiddleware : IMiddleware { bool SupportsEntity(Type entityType); Task> ProvideNodes(IStorageOperation operation); Task> ProvideNodes(Type entityType); }