How to map enums with Mapster
I’ve recently just started using Mapster and I’m trying to do a mapping enum values to an object. I tried the simple way to map using .Map() but it doesn’t work. Here’s are the objects
`Mapperly`, Dependency Injection and `ConstructUsingServiceLocator` equivalent?
I cannot get DI to work with mapperly. The documentation is not great so I may be misunderstanding. I’m look to convert automappers ConstructUsingServiceLocator
so that constructor parameters are populated.
Mapster exceptions aren’t clear when mapping fails during runtime
Is there something I could do to get more meaningful exceptions?
My mapping code looks like this:
Field not being caught?
All of the fields except for Full_name is being caught when I try to POST or PUT. Can you help?