-
Notifications
You must be signed in to change notification settings - Fork 4k
Conversation
Have you tested v10? We have this guard in place because updates far too often are not backwards compat. |
Is there any feature in Automapper 10 that we need? |
The feature we need in v9 is stability. |
@brockallen Project is compilable. There are breaking changes, of course. I was not able to run tests (EF.Storage projects have many broken links to projects in Rider). I put trust in CI pipeline. @leastprivilege This project not, but it holds our dependency locked as well. |
Brock & Dom, I was able to download the repository lock the version into AutoMapper 10.0.0 and run the build.ps1 script which invokes your tests. Here is the output in ASCII format EntityFramework.Storage: build: Succeeded. (12 s) Test run for C:\Users\Administrator\Downloads\IdentityServer4-main\src\EntityFramework.Storage\test\UnitTests\bin\Release\netcoreapp3.1\IdentityServer4.EntityFramework.UnitTests.dll(.NETCoreApp,Version=v3.1) A total of 1 test files matched the specified pattern. Starting test execution, please wait... A total of 1 test files matched the specified pattern. Test Run Successful. Test Run Successful. Here is the output from my console for the EF storage project test run Let me know if you need anything else but as an end user who uses both Identity Server and Auto Mapper I try to stay up to date as much as I can and would greatly appreciate this PR getting into the 4.0.3 release :) Cheers |
I just wanted to point out that my project depends on IdentityServer4.AspNetIdentity 3.1.4. After upgrading to AutoMapper 10 I got this error:
|
I got exactly the same exception as @Quraian. |
Method not found is because you have 10 installed but the CLR is looking for < 10. This PR would address this problem. |
I've tried Autofac v10.0 for this new release and the issue still exists. I ended up downgraded Autofac to v9.0 and it works fine. Below is a record from my logging system contains the detailed exception:
|
I think you meant to say Automapper v10 and not Autofac. Anyhow i can confirm that it does not work with: <PackageReference Include="AutoMapper" Version="10.0.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.0.1" /> |
Once you are a foundation board member, you can fix it all :p |
I opened an issue here: #4673 |
When I tested I bumped the version to 10 and it worked. Given that we didn't force our build to use 10 (and we left it at 9) I think is the issue. We should have changed the lower bound to 10. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What issue does this PR address?
AutoMapper v10 was released but is excluded from EF.Storage
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements