Skip to content

Weird stuff going on. #1

@Ozzian

Description

@Ozzian

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 😬

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions