IObjectMapper using IConfigurationProvider.ResolveTypeMap throws Exception
See original GitHub issueOriginal issue: https://github.com/AutoMapper/AutoMapper.Collection.EFCore/issues/13
When an registered IObjectMapper
is using the IConfiguraitonProvider.ResolveTypeMap
an circular dependency chain can throw exception System.InvalidOperationException : ValueFactory attempted to access the Value property of this instance.
.
Adding failing test as a draft PR and another draft PR with a solution that not is ready for shipment yet (its a hack 😃 ).
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
AutoMapper ValueFactory attempted to access the Value ...
I created this web application using Automapper for DTO mappings and it ... But after some days it throws below error and the...
Read more >c# - Error activating IConfigurationProvider when using ...
Suggestions: 1) Ensure that you have defined a binding for IConfigurationProvider. 2) If the binding was defined in a module, ensure that the ......
Read more >AutoMapper
Collection everything works with AutoMapper 6.2.0. After upgrading to AutoMapper 6.2.1 AutoMapper.Collection is throwing a Null Reference Exception.
Read more >AutoMapper.IConfigurationProvider
Create a mapper instance with the specified service constructor to be used for resolvers and type converters. TypeMap FindTypeMapFor(Type ...
Read more >diagnosticsModule/AutoMapper.xml 2.0.11.0
This method can be used in mapping to LINQ query projections, while ResolveUsing cannot. Any null reference exceptions in this expression will be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You mean it should not be used in IsMatch 😃
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.