Hi Mario, On 3 April 2015 at 23:16, mbneto <[email protected]> wrote:
> Hi, > > It has been a while since I tried to use MongoODM/ORM but when I did we > had an issue where I could not simply do a serialize/unserialize between > requests as a way to prevent going to the persistence layer. > > I was wondering if we do have solutions for this now with the latest > versions. > > Regards, > Mario > The more I thought about this problem, the less I actually got inclined towards supporting serializing the graph. For instance, I opened https://github.com/doctrine/doctrine2/pull/1241, and such a change would make serialization pretty much impossible (as serializing = loading the entirety of all associations recursively). Good 'ol `Serializable` should be used (with care), IMO. 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.
