Closed mickvikt closed 1 year ago
Hi @mickvikt, could you try using MapWith() instead? I think that should be a better fit for your use case. Info here: https://github.com/MapsterMapper/Mapster/wiki/Custom-conversion-logic
I'm closing this for now, but let me know if you encounter any other problems that might indicate a bug.
Hello, I have a question regarding the automatically generated mapper. This is my config:
The problem is that Mapster.Tool generates this mapper class and introduces a private Func<...> property, but it is not being set
My question would be: should my mapping logic be declared in some other way for Mapster.Tool to generate a mapper correctly? Thank you.