Skip to content

Change the IConfigurator Extension Methods to all return IConfigurator. #1219

@wm-jacobo

Description

@wm-jacobo

Is your feature request related to a problem? Please describe.
I would love it if the fluent IConfigurator extension methods such as AddExample, and other all returned IConfigurator rather than void so that they can be properly chained.

Describe the solution you'd like
I would like the extension methods as described above to have a return type of IConfigurator, and just return the IConfigurator parameter when the method is complete.

Describe alternatives you've considered
I don't really have an alternative for this. Or more accurately, the alternative is what is existing, but it is not ideal, or clean for coding.

Additional context
Add any other context or screenshots about the feature request here.


Please upvote 👍 this issue if you are interested in it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions