Skip to content

Merging multiple configuration sources #1488

Answered by Tratcher
pinkfloydx33 asked this question in Q&A
Discussion options

You must be logged in to vote

If you only want to modify existing routes, then yes AddTransforms is a good way to do that.

.AddTransforms(transformBuilderContext =>

There are also config filters if you want to tweak the raw model before it's processed.

public ValueTask<RouteConfig> ConfigureRouteAsync(RouteConfig route, ClusterConfig cluster, CancellationToken cancel)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pinkfloydx33
Comment options

@Tratcher
Comment options

Tratcher Jan 4, 2022
Collaborator

Answer selected by pinkfloydx33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants