I simplified the test to inject IOptions into OptionsTestFunctionApplication and the results:
It picked the values from local.settings.json where the keys were written like the following:
But none of these works:
See PR for simplified scenario: #2
So, technically you could use the IOptions to inject values, but only if your fields (= keys ) doesn't conflict with each others 😬
I simplified the test to inject IOptions into OptionsTestFunctionApplication and the results:
It picked the values from local.settings.json where the keys were written like the following:
But none of these works:
See PR for simplified scenario: #2
So, technically you could use the IOptions to inject values, but only if your fields (= keys ) doesn't conflict with each others 😬