Mark Gerarts
Mark Gerarts
No, this is not possible currently. If you have multiple recurring properties (`createdAt`, `changedAt`, `deletedAt`, ...), you could use [`copyMapping`](https://github.com/mark-gerarts/automapper-plus#copying-a-mapping). I can see the usefulness though, in a more generic...
Hi @Jean85, I don't have any experience with psalm myself, unfortunately. I'm definitely all for a PR that makes life easier for psalm users, but could you explain the difference...
Yes absolutely! I've added PHPStan to the 2.0 branch, but that branch is still very much WIP. Psalm and PHPStan can perfectly coexist together, so feel free to open up...
Yes, you are right. However, throwing an exception here could be a backwards incompatible change. I will definitely incorporate this in the 2.0 release though. Thanks for reporting!
Hi @Jean85, that's a valid point. Unfortunately there's no way to do that (yet), but since it's a nice thing to have I'm willing to implement it. I'm however not...
You are right, the workaround only applies to the default operation (and some other classes). I've looked into the issue a bit deeper, and a real fix looks a bit...
You are right, you can't do this with the Automapper (yet). It is, however, an interesting usecase. I have some ideas on how to resolve this, but I'm gonna need...
Hi @ostrolucky, I've been playing around with this for a while, but I haven't found a good solution. My idea was the following: 1. Create a cache for mapped items...
That's a really great suggestion. I'll definitely look into using a decorated PropertyAccess component. nelmio/alice is a great example as well. For the problem with the references, however, I don't...
Not yet - but I'll add it to the roadmap, as it is a nice feature to have.