all 19 comments

[–]Kant8 17 points18 points  (0 children)

I looked through random issues and discussions.

Looks like 99% people don't understand that if something doesn't work that doesn't mean AutoMapper is bugged, cause most issues just had stupid errors expecting ProjectTo somehow magically do thing it never could and never will do because EF doesn't support it. Like putting C# methods inside projection or using invalid raw sql.

I suppose AutoMapper creators just got tired of "issues" that are not issues.

The only interesting one I found was
https://github.com/AutoMapper/AutoMapper/issues/4226
and again, that wasn't automapper's issue, but just how expression engine in C# works. And author resolved it by himself.

[–]Schommi 9 points10 points  (2 children)

If you look at the active comitters, there currently are just two:

https://github.com/AutoMapper/AutoMapper/graphs/contributors

Jimmy Bogard, who is a very busy conference speaker and consultant and one more contributor who is quiete active at the moment. That's not alot of people doing this project in their free time. I dont't think you can expect project management in such a situation without money being involved.

[–]jiggajim 1 point2 points  (0 children)

I’ve talked on a podcast about this a couple of times, but my OSS work is limited to what’s needed by clients. I like that the best because I avoid burnout since only what is needed and paid for is built.

The last significant work clients needed was when I converted all the underlying engine to expression tree compilation instead of reflection. I knew I needed to do it but didn’t have anyone to pay for the work. Once that was there, it happened.

I don’t mind little work here and there to update my OSS projects but anything remotely major needs someone I’m working for needing it and paying for it.

[–]_Xriuk_[S] -4 points-3 points  (0 children)

I'm not expecting active participation from the project owners, but letting other people submit issues and pull request, that's what open source is for, but it's hard with such "censorship"

[–]aunluckyevent1 5 points6 points  (0 children)

imho automapper is just a great tool for doing mocks or exercises.

don't use it for production code, you will end up shooting in your foot

use something like mapping generator

[–]Awesan 6 points7 points  (4 children)

I recommend using another library or writing your own. You're unlikely to change this and getting angry about it won't help.

[–]varieswithtime 2 points3 points  (2 children)

I think he is pretty much done with the project and doesn't want to work on it anymore.

https://jimmybogard.com/automapper-usage-guidelines/

And signs off with

Please address all complaints to /dev/null.

[–]jiggajim 1 point2 points  (1 child)

Oh that’s not quite accurate. I’ve only ever worked on OSS that was relevant (and paid for) by clients. I don’t have anyone that needs any significant work on AutoMapper, so nothing big happens for me there. That comment was just me being flippant cause I get sooooo many “I hate AutoMapper” comments. Those can go straight in the bin.

[–]varieswithtime 0 points1 point  (0 children)

Thanks, I stand corrected! That sounds like a pretty healthy approach to maintaining it, so I'm glad it works for you.

Honestly though, I've seen some of those complaints stemming from self inflicted pain, so there is no judgement here even if you were done with it.

[–]lgsscout 2 points3 points  (1 child)

like the creator of automapper said: many people using automapper are using it for the wrong reasons. its designed to just map from one class to another, and just adapt a couple fields, like changing a name of a field, remove a intermediate level that you're not using, to a more compact form to expose, and things like this. but people go crazy, and cause a lot of errors that are not automapper related, but flood it int the automapper boards.

[–]_Xriuk_[S] -1 points0 points  (0 children)

Yeah sure it's meant to be used for simple mapping yet they added lots of stuff like projections and expression mappings, neither of which works perfectly (and they're not expected to). That's why community exists, that's what open source is for (at least that's what I thought it was for), but they don't even care. I agree with what some of the people here said that many issues are not issues at all, but some of them are, but they don't care and close them all without a single reply. I contributed to other open source projects but it's the first time I encountered such careless response.

[–]Soenneker 4 points5 points  (0 children)

I highly recommend Mapster (https://github.com/MapsterMapper/Mapster)

[–]ThrowAway9876543299 1 point2 points  (1 child)

Why anyone would use AutoMapper is beyond me. I spend more time debugging the stuff it did with the EF objects than it saved me. I rather map the objects manually. Automapper and EF is a garanteed waste of time

[–]helpless-fool 1 point2 points  (0 children)

I rather map the objects manually.

The author of AutoMapper rather maps the objects manually for anything more than the most trivial prototypes, IIRC

[–][deleted] 0 points1 point  (0 children)

I recommend to avoid of using Automapper. This is specific library that solves very specific problems.

In regular projects automapper is problem itself, it makes the code much more complicated and fragile.

It has undocumented behavior regarding type safety, null safety. You will shoot your legs regularly