|
@@ -766,7 +766,7 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
->map('entity', $builder->fromParent())
|
|
->map('entity', $builder->fromParent())
|
|
));
|
|
));
|
|
|
|
|
|
- $registry->addFieldResolver('Entite', 'author',
|
|
|
|
|
|
+ $registry->addFieldResolver('Doleance', 'author',
|
|
$builder->compose(
|
|
$builder->compose(
|
|
$builder->produce('entity_owner')
|
|
$builder->produce('entity_owner')
|
|
->map('entity', $builder->fromParent()),
|
|
->map('entity', $builder->fromParent()),
|
|
@@ -850,11 +850,11 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
|
|
|
|
// #4
|
|
// #4
|
|
// entite_addresse_application: String
|
|
// entite_addresse_application: String
|
|
- $registry->addFieldResolver('Doleance', 'entite_addresse_application',
|
|
|
|
|
|
+ $registry->addFieldResolver('Doleance', 'entite_adresse_application',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
->map('type', $builder->fromValue('entity:node'))
|
|
->map('type', $builder->fromValue('entity:node'))
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
- ->map('path', $builder->fromValue('field_entite_addresse_application.value'))
|
|
|
|
|
|
+ ->map('path', $builder->fromValue('field_entite_adresse_application.value'))
|
|
);
|
|
);
|
|
// aqui_adresse_decision: String
|
|
// aqui_adresse_decision: String
|
|
$registry->addFieldResolver('Doleance', 'aqui_adresse_decision',
|
|
$registry->addFieldResolver('Doleance', 'aqui_adresse_decision',
|
|
@@ -937,28 +937,28 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
// |_|
|
|
// |_|
|
|
protected function addReceptionTraitement(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
|
protected function addReceptionTraitement(ResolverRegistryInterface $registry, ResolverBuilder $builder) {
|
|
// entite_adressee: String
|
|
// entite_adressee: String
|
|
- $registry->addFieldResolver('GroupeInterets', 'entite_adressee',
|
|
|
|
|
|
+ $registry->addFieldResolver('ReceptionTraitement', 'entite_adressee',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
->map('path', $builder->fromValue('field_entite_adressee.value'))
|
|
->map('path', $builder->fromValue('field_entite_adressee.value'))
|
|
);
|
|
);
|
|
// doleance_formulee: String
|
|
// doleance_formulee: String
|
|
- $registry->addFieldResolver('GroupeInterets', 'doleance_formulee',
|
|
|
|
|
|
+ $registry->addFieldResolver('ReceptionTraitement', 'doleance_formulee',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
->map('path', $builder->fromValue('field_doleance_formulee.value'))
|
|
->map('path', $builder->fromValue('field_doleance_formulee.value'))
|
|
);
|
|
);
|
|
// traite_doleance: String
|
|
// traite_doleance: String
|
|
- $registry->addFieldResolver('GroupeInterets', 'traite_doleance',
|
|
|
|
|
|
+ $registry->addFieldResolver('ReceptionTraitement', 'traite_doleance',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
->map('path', $builder->fromValue('field_traite_doleance.value'))
|
|
->map('path', $builder->fromValue('field_traite_doleance.value'))
|
|
);
|
|
);
|
|
// entite_recoit_doleance: String
|
|
// entite_recoit_doleance: String
|
|
- $registry->addFieldResolver('GroupeInterets', 'entite_recoit_doleance',
|
|
|
|
|
|
+ $registry->addFieldResolver('ReceptionTraitement', 'entite_recoit_doleance',
|
|
$builder->produce('property_path')
|
|
$builder->produce('property_path')
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('type', $builder->fromValue('entity:paragraph'))
|
|
->map('value', $builder->fromParent())
|
|
->map('value', $builder->fromParent())
|
|
@@ -994,7 +994,7 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|
->map('path', $builder->fromValue('field_entite_metenoeuvre_decisio.value'))
|
|
->map('path', $builder->fromValue('field_entite_metenoeuvre_decisio.value'))
|
|
);
|
|
);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
// ____ _ _ _ _ _ _ _
|
|
// ____ _ _ _ _ _ _ _
|
|
// | _ \ ___ ___ ___ _ __ | |_(_) ___ _ __ ___ / \ _ __ _ __ | (_) ___ __ _| |_(_) ___ _ __ ___
|
|
// | _ \ ___ ___ ___ _ __ | |_(_) ___ _ __ ___ / \ _ __ _ __ | (_) ___ __ _| |_(_) ___ _ __ ___
|
|
// | |_) / _ \/ __/ _ \ '_ \| __| |/ _ \| '_ \/ __| / _ \ | '_ \| '_ \| | |/ __/ _` | __| |/ _ \| '_ \/ __|
|
|
// | |_) / _ \/ __/ _ \ '_ \| __| |/ _ \| '_ \/ __| / _ \ | '_ \| '_ \| | |/ __/ _` | __| |/ _ \| '_ \/ __|
|