You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -207,6 +206,16 @@ private function definitionsSchemaSection(): ArrayNodeDefinition
207
206
/** @var ArrayNodeDefinition $node */
208
207
$node = $builder->getRootNode();
209
208
209
+
if (Kernel::VERSION_ID >= 50100) {
210
+
$deprecatedArgs = [
211
+
'overblog/graphql-bundle',
212
+
'0.13',
213
+
'The "%path%.%node%" configuration is deprecated and will be removed in 1.0. Add the "overblog_graphql.resolver_map" tag to the services instead.',
214
+
];
215
+
} else {
216
+
$deprecatedArgs = ['The "%path%.%node%" configuration is deprecated since version 0.13 and will be removed in 1.0. Add the "overblog_graphql.resolver_map" tag to the services instead.'];
217
+
}
218
+
210
219
// @phpstan-ignore-next-line
211
220
$node
212
221
->beforeNormalization()
@@ -223,7 +232,7 @@ private function definitionsSchemaSection(): ArrayNodeDefinition
223
232
->arrayNode('resolver_maps')
224
233
->defaultValue([])
225
234
->prototype('scalar')->end()
226
-
->setDeprecated('The "%path%.%node%" configuration is deprecated since version 0.13 and will be removed in 1.0. Add the "overblog_graphql.resolver_map" tag to the services instead.')
0 commit comments