Tags: mossotech/FOSRestBundle
Tags
fix route generator not ignoring body param converters (FriendsOfSymf… …ony#1934) * fix route generator not ignoring body param converters When fetching a list of function parameters from a controller action for use as URL parameters, check for the @ParamConverter annotation. If a parameter has the annotation with the "fos_rest.request_body" converter, then ignore it and do not include it in the list of parameters (thus removing it from the URL). This allows automatic route generation and ParamConverter to co-exist, as otherwise a parameter that is expected to be derived from the body would also be included as a URL parameter, requiring the developer to manually specify the route. fixes FriendsOfSymfony#1198 * fix some small things after review * simplify FQN * fix cs * revert global namespace FQN simplification
typo in UPGRADING-2.0.md fixed (FriendsOfSymfony#1690) * typo in UPGRADING-2.0.md fixed * Update UPGRADING-2.0.md
PreviousNext