gql field name corrections
This commit is contained in:
parent
7fd485610b
commit
d86b8b9239
@ -130,9 +130,9 @@ type Doleance implements NodeInterface {
|
|||||||
groupesinterets: [GroupeInterets]
|
groupesinterets: [GroupeInterets]
|
||||||
#2
|
#2
|
||||||
date_adresse: Date
|
date_adresse: Date
|
||||||
entite_addresse_doleance: String
|
entite_adresse_doleance: String
|
||||||
comment_ennonce_doleance: String
|
comment_enonce_doleance: String
|
||||||
aqui_addresse_doleance: String
|
a_qui_adresse_doleance: String
|
||||||
reception_traitement: [ReceptionTraitement]
|
reception_traitement: [ReceptionTraitement]
|
||||||
#3
|
#3
|
||||||
date_decision: Date
|
date_decision: Date
|
||||||
|
@ -1077,21 +1077,21 @@ class OuattSchemaExtension extends SdlSchemaExtensionPluginBase {
|
|||||||
->map('path', $builder->fromValue('field_date_adresse_doleance'))
|
->map('path', $builder->fromValue('field_date_adresse_doleance'))
|
||||||
);
|
);
|
||||||
// entite_addresse_doleance: String
|
// entite_addresse_doleance: String
|
||||||
$registry->addFieldResolver('Doleance', 'entite_addresse_doleance',
|
$registry->addFieldResolver('Doleance', 'entite_adresse_doleance',
|
||||||
$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_adresse_doleance.value'))
|
->map('path', $builder->fromValue('field_entite_adresse_doleance.value'))
|
||||||
);
|
);
|
||||||
// comment_ennonce_doleance: String
|
// comment_ennonce_doleance: String
|
||||||
$registry->addFieldResolver('Doleance', 'comment_ennonce_doleance',
|
$registry->addFieldResolver('Doleance', 'comment_enonce_doleance',
|
||||||
$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_comment_enonce_doleance.value'))
|
->map('path', $builder->fromValue('field_comment_enonce_doleance.value'))
|
||||||
);
|
);
|
||||||
// aqui_addresse_doleance: String
|
// aqui_addresse_doleance: String
|
||||||
$registry->addFieldResolver('Doleance', 'aqui_addresse_doleance',
|
$registry->addFieldResolver('Doleance', 'a_qui_adresse_doleance',
|
||||||
$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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user