C
C#12mo ago
Jii

❔ How can I test a custom IValueResolver in AutoMapper 12?

With the latest release of AutoMapper,the public constructor in the ResolutionContext class has been removed. As a result, my previous approach of creating an instance for testing a custom value resolver is no longer viable. Now, I'm facing a challenge in testing my value resolver that relies on a resolution context. How can I effectively test my value resolver under the new circumstances?
1 Reply
Accord
Accord12mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.