-
Notifications
You must be signed in to change notification settings - Fork 889
Closed
Labels
Breaking-ChangeType: IdeaThis issue is a high-level idea for discussion.This issue is a high-level idea for discussion.
Milestone
Description
What should we add or change to make your life better?
Add ClusterConfig?
parameter to IProxyConfigFilter.ConfigureRouteAsync
.
namespace Yarp.ReverseProxy.Configuration
{
public interface IProxyConfigFilter
{
- ValueTask<RouteConfig> ConfigureRouteAsync(RouteConfig route, CancellationToken cancel);
+ ValueTask<RouteConfig> ConfigureRouteAsync(RouteConfig route, ClusterConfig? cluster, CancellationToken cancel);
}
}
Why is this important to you?
Beside grouping for route config (#164), this could be used to apply certain rule for routes based on cluster.Metadata
.
Metadata
Metadata
Assignees
Labels
Breaking-ChangeType: IdeaThis issue is a high-level idea for discussion.This issue is a high-level idea for discussion.