Is the order of AddTransforms
guaranteed?
#1822
-
Probably a simple question, but couldn't really find it in the documentation: Is the order of the services
.AddReverseProxy()
.LoadFromConfig(Configuration.GetSection("ReverseProxy"))
.AddTransforms<Transform1>()
.AddTransforms<Transform2>()
.AddTransforms<Transform3>(); Will the order always be:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes. The only mention I see in the docs is under
We could be more explicit about ordering guarantees at the top of the article. We build the list of transforms as follows:
When processing requests, we use the order that was set on the |
Beta Was this translation helpful? Give feedback.
Yes.
The only mention I see in the docs is under
RequestTransforms
We could be more explicit about ordering guarantees at the top of the article.
We build the list of transforms as follows:
ITransformFactory
es in order of registration for each raw transform (think config entries).ITransformProvider
s in order of registrationWhen processing requests, we use the order that was set on the
TransformBuilderContext
.