GetPluginFiles
method must not throw InvalidOperationException
#7
Labels
breaking change
A change in one part of a software that potentially causes other components to fail
bug
Something isn't working
Implementations:
This exception occurs when the Plugins key does not exist in a configuration file as a json or .env.
This behavior should be changed for two reasons:
Plugins
key found in a configuration file and that's it.The expected behavior for the consumer is that no plugin is loaded, but the opposite happens: an exception is thrown.
This surprises the consumer.
Plugins
section.See issue Cannot specify an empty array in the
Plugins
section of appsettings.json #6If the consumer forgets to add the
Plugins
key in the configuration file, then the expected behavior is that no plugins are loaded. This is not a bug.The text was updated successfully, but these errors were encountered: