AutoMapper / AutoMapper.Extensions.Microsoft.DependencyInjection

MIT License
258 stars 79 forks source link

ServiceCollectionExtensions namespace #149

Closed eersonmez closed 3 years ago

eersonmez commented 3 years ago

Microsoft recommendation is to place service registration extension methods within the Microsoft.Extensions.DependencyInjection namespace. However, ServiceCollectionExtensions is in the AutoMapper namespace so, the .AddAutoMapper extension method isn't available in Startup.cs until you add using AutoMapper;.

We might consider changing the namespace to the MS recommended one so that the 'using' isn't necessary.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.