diff --git a/src/web/modules/custom/ouatt_graphql/graphql/ouatt_extension.base.graphqls b/src/web/modules/custom/ouatt_graphql/graphql/ouatt_extension.base.graphqls index 83cec98..d9f8986 100644 --- a/src/web/modules/custom/ouatt_graphql/graphql/ouatt_extension.base.graphqls +++ b/src/web/modules/custom/ouatt_graphql/graphql/ouatt_extension.base.graphqls @@ -137,7 +137,7 @@ type Doleance implements NodeInterface { #3 date_decision: Date entites_decisionnaires: String - decision_formule: String + decision_formulee: String mise_en_oeuvre_decision: [MiseEnoeuvreDecision] #4 date_application: Date diff --git a/src/web/modules/custom/ouatt_graphql/src/Plugin/GraphQL/SchemaExtension/OuattSchemaExtension.php b/src/web/modules/custom/ouatt_graphql/src/Plugin/GraphQL/SchemaExtension/OuattSchemaExtension.php index 22704e9..46a983a 100644 --- a/src/web/modules/custom/ouatt_graphql/src/Plugin/GraphQL/SchemaExtension/OuattSchemaExtension.php +++ b/src/web/modules/custom/ouatt_graphql/src/Plugin/GraphQL/SchemaExtension/OuattSchemaExtension.php @@ -1120,7 +1120,7 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase { ->map('path', $builder->fromValue('field_entites_decisionnaires.value')) ); // decision_formule: String - $registry->addFieldResolver('Doleance', 'decision_formule', + $registry->addFieldResolver('Doleance', 'decision_formulee', $builder->produce('property_path') ->map('type', $builder->fromValue('entity:node')) ->map('value', $builder->fromParent())