Open Ocramius opened 10 years ago
@Ocramius that's also true for the Aggregate wrapper object.
Thanks for pointing it out.
@mathiasverraes in general, I think you should never use final
unless it's a utility class or there is an interface for the implementation.
Marking it final
without a contract will make composition useless, defeating the actual purpose of final
(IMO)
I agree, there's a lot of these kinds of details that need work. Extensibility hasn't been a concern so far, as I'm changing the design too much. Keeping the ticket open as a reminder to take a good look at extension points later.
The
UnitOfWork
abstracts a fairly complex API, but there is no contract (or multiple contracts) for it, which makes composition not possible.