We just tried to upgrade to v15 and we were using the overload of AddAutoMapper which takes an IServiceProvider as action parameter:
services.AddAutoMapper(
(serviceProvider, config) => { ... });
These overloads were removed with this commit: 0d390e5#diff-15ece5c4061cbb9ebb94ea7c836b3deececf5e2e638eb5021db82eaaf4c33536
This is a breaking change and not documented somewhere, so I'm not sure if this is intentional or a bug? What would be the alternative if we wanted to resolve services from the service provider while building the configuration?