Open firestorm23 opened 8 years ago
Just found that you can't use $annotaion->providerClass to generate title from pattern. But I still don't know how to get instance of entity inside Request before the event onControllerFound is called.
I found that you can use @ParamConverter annotation in order to point out how request parameter should be converted to object. Is it the way how it should work ?
Hi, I installed your bundle. Generation of Sonata SEO tags seems not working due to this code.
That's Alpixel\Bundle\SEOBundle\Service\MetaTagService on 30-58. The code i'm intetersted is 52-56 line
This code should get an instance of class to pass it to the repository finder. First I don't get what is
In annotation this parameter does not have a name and your README does not say what it is So this parameter should be in request and this is the weirdest thing. In my articleAction in which use your bundle, request only contains slug as input parameter from the router. But your code says that Request should containt entity instance to get it's class and pass it to the repository finder. So I don't get why you use
instead of just
to find right SEO tags pattern. And further and I don't get what is the purpose of $annotation->value parameter.