|
@@ -142,6 +142,12 @@ class EnFrSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
->map('ids', $builder->fromParent())
|
|
->map('ids', $builder->fromParent())
|
|
)
|
|
)
|
|
);
|
|
);
|
|
|
|
+
|
|
|
|
+ $registry->addFieldResolver('Query', 'text',
|
|
|
|
+ $builder->produce('entity_load')
|
|
|
|
+ ->map('type', $builder->fromValue('node'))
|
|
|
|
+ ->map('ids', $builder->fromParent())
|
|
|
|
+ );
|
|
}
|
|
}
|
|
|
|
|
|
// _____ _ ___ _
|
|
// _____ _ ___ _
|