mongo-extensions icon indicating copy to clipboard operation
mongo-extensions copied to clipboard

Provide an extension method for IServiceCollection to support other project types.

Open BoutemineOualid opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Right now, the migration builder registration sequence uses the IApplicationBuilder interface as a starting point. While this is fine for ASP.NET projects, bootstrapping the migration builder in other project types, i.e Azure Functions, is not possible.

Describe the solution you'd like Extend the IServiceCollection interface directly.

Describe alternatives you've considered Copy the code from the library and refactor it to be used on an IServiceCollection interface.

Additional context N/A

BoutemineOualid avatar Jan 06 '23 00:01 BoutemineOualid