mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[API] Deprecate legacy_error_handling and serialization_groups configuration parameters
This commit is contained in:
parent
33e6f0d150
commit
be2da11193
2 changed files with 9 additions and 1 deletions
|
|
@ -12,3 +12,9 @@
|
|||
| `sylius.security.new_api_shop_regex` | `sylius.security.api_shop_regex` |
|
||||
| `sylius.security.new_api_user_account_route` | `sylius.security.api_shop_account_route` |
|
||||
| `sylius.security.new_api_user_account_regex` | `sylius.security.api_shop_account_regex` |
|
||||
|
||||
1. The following configuration parameters have been deprecated and will be removed in 2.0:
|
||||
|
||||
- `sylius_api.legacy_error_handling`
|
||||
- `sylius_api.serialization_groups.skip_adding_read_group`
|
||||
- `sylius_api.serialization_groups.skip_adding_index_and_show_groups`
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ final class Configuration implements ConfigurationInterface
|
|||
->defaultFalse()
|
||||
->end()
|
||||
->booleanNode('legacy_error_handling')
|
||||
->setDeprecated('sylius/api-bundle', '1.14', 'The "%path%.%node%" is deprecated and will be removed in 2.0.')
|
||||
->defaultFalse()
|
||||
->end()
|
||||
->end()
|
||||
|
|
@ -42,6 +43,7 @@ final class Configuration implements ConfigurationInterface
|
|||
->end()
|
||||
->children()
|
||||
->arrayNode('serialization_groups')
|
||||
->setDeprecated('sylius/api-bundle', '1.14', 'The "%path%.%node%" is deprecated and will be removed in 2.0.')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->booleanNode('skip_adding_read_group')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue