fix gql query text: Textinterface

This commit is contained in:
2021-03-09 11:57:52 +01:00
parent c05abd7ce5
commit 91c62174f3
@@ -146,7 +146,7 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
$registry->addFieldResolver('Query', 'text',
$builder->produce('entity_load')
->map('type', $builder->fromValue('node'))
->map('ids', $builder->fromParent())
->map('id', $builder->fromParent())
);
}