I really still prefer approach number two. This way there is no magic but we do have the comfort of named routing parameters.
I still feel that "We might inject a lot of services we don't need" is not an argument. This is a problem that belongs in userland code, not in the framework. Besides, it can easily be solved by subclassing controllers... + 1 form on approach number 2 Looking forward to sf2 :) - Marijn On Mar 25, 4:30 pm, Thomas Rabaix <thomas.rab...@gmail.com> wrote: > On Thu, Mar 25, 2010 at 3:12 PM, Fabien Potencier < > > fabien.potenc...@symfony-project.com> wrote: > > > On 3/25/10 3:09 PM, Bernhard Schussek wrote: > > >> I want to reiterate my question how it is possible to access objects > >> generated by the route in the last approach. Say I pass the parameters > >> "category_id" and "id" to the route, which are converted by the route > >> to a "Category" and an "Article" instance. > > > There is no such concept in Symfony 2. > > best news ever ;) > > > > > > > > > Fabien > > >> How can I access these two objects? > > >> Bernhard > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony developers" group. > > To post to this group, send email to symfony-devs@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-devs+unsubscr...@googlegroups.com<symfony-devs%2bunsubscr...@google > > groups.com> > > For more options, visit this group at > >http://groups.google.com/group/symfony-devs?hl=en > > > To unsubscribe from this group, send email to symfony-devs+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject. > > -- > Thomas Rabaixhttp://rabaix.net -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en To unsubscribe from this group, send email to symfony-devs+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.