|
@@ -361,6 +361,14 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
)
|
|
)
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+ // active: Boolean
|
|
|
|
+ $registry->addFieldResolver('Entiteintegre', 'active',
|
|
|
|
+ $builder->produce('property_path')
|
|
|
|
+ ->map('type', $builder->fromValue('entity:paragraph'))
|
|
|
|
+ ->map('value', $builder->fromParent())
|
|
|
|
+ ->map('path', $builder->fromValue('field_active.value'))
|
|
|
|
+ );
|
|
|
|
+
|
|
$registry->addFieldResolver('Entiteintegre', 'actuelfuture',
|
|
$registry->addFieldResolver('Entiteintegre', 'actuelfuture',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|