YarpRoute.WithTransformQueryRouteValue

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpRoute interface {
// ... omitted for brevity
WithTransformQueryRouteValue(
queryKey string,
routeValueKey string,
options ...*WithTransformQueryRouteValueOptions,
) YarpRoute
}

Signature

methodWithTransformQueryRouteValue
Adds the transform that will append or set the query parameter from a route value.
WithTransformQueryRouteValue(
queryKey string,
routeValueKey string,
options ...*WithTransformQueryRouteValueOptions,
) YarpRoute
queryKeystring
routeValueKeystring
options...*WithTransformQueryRouteValueOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithTransformQueryRouteValueOptions argument.

Append*bool
YarpRoute

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: