Closed soyuka closed 10 months ago
Thanks for the PR 😍
Define the SYMFONY_ENDPOINT
environment variable:
# On Unix-like (BSD, Linux and macOS)
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1240/index.json
# On Windows
SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1240/index.json
Install the package(s) related to this recipe:
composer req 'symfony/flex:^1.16'
composer req 'api-platform/core:^3.2'
Don't forget to unset the SYMFONY_ENDPOINT
environment variable when done:
# On Unix-like (BSD, Linux and macOS)
unset SYMFONY_ENDPOINT
# On Windows
SET SYMFONY_ENDPOINT=
In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.
In API Platform 4
json
will be disabled by default so it's now recommended to explicit formats. Forevent_listeners_backward_compatibility_layer
see https://github.com/api-platform/core/pull/5657 We're using the Symfony Inflector now but this will probably break current code so we need a flag tokeep_legacy_inflector
Therfc_7807_compliant_errors
is to make Hydra errors compatible with the JSON Problem specification. This may lead to unexpected error fields and therefore we need a compatibility flag.