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
class Configuration implements ConfigurationInterface
24
25
{
@@ -210,7 +211,7 @@ private function definitionsSchemaSection()
210
211
->arrayNode('resolver_maps')
211
212
->defaultValue([])
212
213
->prototype('scalar')->end()
213
-
->setDeprecated('The "%path%.%node%" configuration is deprecated since version 0.13 and will be removed in 0.14. Add the "overblog_graphql.resolver_map" tag to the services instead.')
214
+
->setDeprecated(...$this->getDeprecationArgs())
214
215
->end()
215
216
->arrayNode('types')
216
217
->defaultValue([])
@@ -223,6 +224,20 @@ private function definitionsSchemaSection()
223
224
return$node;
224
225
}
225
226
227
+
/**
228
+
* BC layer for symfony/config <5.1 .
229
+
*/
230
+
privatefunctiongetDeprecationArgs()
231
+
{
232
+
$msg = '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