Make able to set order for IConfigureOptions and IPostConfigureOptions #103041
Unanswered
VladyslavLishchyna
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community, currently dotnet have mechanism for create and configurate options. Interfaces IConfigureOptions<> and IPostConfigureOptions<> is a part of this mechanism and this is really handy. Here in OptionsFactory all implementations of IConfigureOptions<> and IPostConfigureOptions<> are getting from dependency injection and invoke to configure options one by one.
Possible situation when some options class have few configurators and in this case order can be a key, but now we haven`t mechanism to manage order of this pipeline.
What I think about it.
My 1 thought:
My 2 thought:
So if you think that 2 thought are helpful, I can make pull request for it.
Beta Was this translation helpful? Give feedback.
All reactions