I use JSM serialization bundle, which is fine, in symfony 2. The deal is that I use some User entity, on which I want to define some display var policy. The strategy is somehow the same for all the projet, but the user entity is searched through many different requests, for instance there are some community->users, or or some session->user, or some comment->owner, and if I define some expose strategy, I guess I have to do it for all the including entities, propagating threw all the parents entities.
For instance, if I have got a community entity, where I include community->owner and community->session->user, I want to be able the strategy only at the user level without adding it to session, and community. Now if i dont the serilization display nothing...
Any suggestions folks?