FOSRestBundle
FOSRestBundle copied to clipboard
This Bundle provides various tools to rapidly develop RESTful API's with Symfony
Fix issue with Symfony 6.1 and error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class JMS\\Serializer\\Handler\\FormErrorHandler does not have a method "serializeFormInterfaceTojson"
Fix the following deprecation: The "FOS\RestBundle\Serializer\Normalizer\FormErrorNormalizer::supportsNormalization()" method will require a new "array $context" argument in the next major version of its interface "Symfony\Component\Serializer\Normalizer\NormalizerInterface", not defining it is deprecated. The "FOS\RestBundle\Serializer\Normalizer\FlattenExceptionNormalizer"...
Hello, Since we updated to 3.x.x, the exceptions I mapped in my config files aren't caught and a 500 is thrown instead. Here is my configuration : ``` fos_rest: exception:...
I am configuring the FOSRest Bundle to handle domain exceptions as shown in: https://symfony.com/doc/current/bundles/FOSRestBundle/4-exception-controller-support.html But exceptions are still logged as > request.CRITICAL: Uncaught PHP Exception Symfony\Component\Messenger\Exception\HandlerFailedException: "Yadda-yadda-yadda" at /var/www/app/apps/api/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php line...
Hello, I need to change the error return format keeping the behavior of the bundle. I see it's pretty hard to do since FlattenExceptionHandler is internal and its attributes are...
I am getting this error with the default configuration. > Invalid configuration for path "fos_rest.routing_loader": only "false" is supported ```` fos_rest: param_fetcher_listener: true allowed_methods_listener: true routing_loader: true view: view_response_listener: true...
Please do not mark class "FOS\RestBundle\Request\RequestBodyParamConverter" as final. This will allow the user to extend the functionality. There are scenario where we want to extend its functionality like we want...
Hi, I would like to create a route to generate a csv but if there is an exception to generate a json response. Is it possible to return two different...
`composer install` ``` Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 1 !! !! // Clearing the cache for the dev environment with debug !! // true...
In https://github.com/symfony/symfony/issues/44705 it looks like there's a strong consensus for deprecating SensioFrameworkExtraBundle (which, IMO, makes sense; everything that bundle provides can be done with a core install these days, the...