On 16 March 2014 21:07, Herman Peeren <[email protected]> wrote:
> Florent is correct about Evans: he gives an example of a route value > object containing 2 cities ans a highway as entities (in my edition on page > 98-99). > Yes, I was explicitly disagreeing with the PoV of Evans here - I don't like entities in VOs, and I think it is an exception to the norm (object reference to a potentially mutable instance that isn't compared by-value). And yep, the workarounds that you suggest are indeed valid. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
