You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.
@Eilon has expressed some concerns with the "amount of magic" in the current design that pulls configuration information into an instance of an options type MyOptions through a call to services.Configure<MyOptions>(configuration), and on how this is currently used across the frameworks. Filing this issue to track that so that we can have a follow up conversation.
The text was updated successfully, but these errors were encountered:
Related to this, currently all of the frameworks are implicitly expecting their options to live at top level, we need to change the behavior of all the frameworks AddFooXXX(Configuration) method to implicitly be looking for Configuration.GetSubKey("FooXXX") or pick some other naming convention to properly scope the options.
@davidfowl suggested that we just cut all automatic Configure options from any AddXyz methods, users can always manually call services.ConfigureXyz(config) to bind options to config. I will make a pass once builds are stable and remove Configuration from all AddXyz methods that do not need them
@Eilon has expressed some concerns with the "amount of magic" in the current design that pulls configuration information into an instance of an options type
MyOptions
through a call toservices.Configure<MyOptions>(configuration)
, and on how this is currently used across the frameworks. Filing this issue to track that so that we can have a follow up conversation.The text was updated successfully, but these errors were encountered: