Ok, some context: I start working on a new project and I tried to implement the DDD architecture. There comes an issue with object mapping between model objects and view model objects. So I am looking to implement an object mapping mechanism and I know there would be some “sugar-sweet libraries” already available to solve this. Therefore, The first name pops out from Google AutoMapper. It seems very convenient and promising as it can quickly map from one object to another, just by looking at the documentation and example codes of this lib and you will see.
However, I’m a bit careful to considering this lib and after digging a bit more I found this:
So, a note to self: don’t use automapper ever at all, except you are developing a throw-away prototype.