Skip to content

Commit 8cc0f55

Browse files
committed
-refactoring
1 parent 489d63d commit 8cc0f55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Bundle/DependencyInjection/Configuration.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ public function getConfigTreeBuilder(): TreeBuilder
9292
->addDefaultsIfNotSet()
9393
->children()
9494
->variableNode('serialize_payload_fields')->defaultValue([])->info('Set to null to serialize all payload fields when a validation error is thrown, or set the fields you want to include explicitly.')->end()
95+
->booleanNode('query_parameter_validation')
96+
->defaultValue(true)
97+
->setDeprecated('api-platform/symfony', '4.2', 'Will be removed in API Platform 5.0.')
98+
->end()
9599
->end()
96100
->end()
97101
->arrayNode('eager_loading')

0 commit comments

Comments
 (0)