Skip to content

Conversation

@jbogard
Copy link
Contributor

@jbogard jbogard commented Jul 11, 2025

Fixes #4550, #4551

This adds back in the overloads that accept types/assemblies to AddAutoMapper. Previously, the assemblies found in AddMaps would also register those services but because you can't register services after the container is built, these need to be provided up front.

@jbogard jbogard added this to the 15.0.1 milestone Jul 11, 2025
@jbogard jbogard merged commit 8eb2b20 into master Jul 11, 2025
3 checks passed
This was referenced Aug 4, 2025
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AddAutoMapper overload which takes an IServiceProvider is missing in v15

2 participants