Matthias Noback
Matthias Noback
I stick to the rule that, if an object needs information from outside the application (an API response, the current time, etc.) there are four options: - It should become...
The Convenient Immutability library is not 100% serious actually. The thing with immutability is that it isn't really needed in this case. You won't be tempted to modify the object,...
@mablae It may be good to note that SimpleBus has not been abandoned. It's just that there won't be a lot of development, since it's very small and simple anyway...
My general rule is to have only immediately serializable data in a DTO (that is, primitive types). I know some people who add "getters" to a DTO which produce actual...
Even though I'm often not _actually_ serializing DTO's, I like them to be very flat, since that's in the spirit of a DTO. Any type of object would not be...
I'm using commands and view models which have primitive types and won't throw any exceptions. I think this is a useful aspect of them. For commands it's very useful because...
Cool, you're welcome.
I don't know if you're waiting for my opinion, but here we go anyway: I don't like to use the Symfony event dispatcher for my domain events (because of the...
That's right, but I think it's always a sensible thing to dispatch an object anyway.
Thanks for bringing this up. However, as I stated in the original PR, I wonder if you couldn't just use the trait in the child classes instead of the parent...