feat(graphql): add pays champ to API
This commit is contained in:
parent
5a7ddd52d2
commit
072156d38e
6 changed files with 53 additions and 6 deletions
|
@ -59,6 +59,7 @@ class API::V2::Schema < GraphQL::Schema
|
|||
Types::Champs::IntegerNumberChampType,
|
||||
Types::Champs::LinkedDropDownListChampType,
|
||||
Types::Champs::MultipleDropDownListChampType,
|
||||
Types::Champs::PaysChampType,
|
||||
Types::Champs::PieceJustificativeChampType,
|
||||
Types::Champs::RegionChampType,
|
||||
Types::Champs::RepetitionChampType,
|
||||
|
|
|
@ -454,6 +454,12 @@ class API::V2::StoredQuery
|
|||
code
|
||||
}
|
||||
}
|
||||
... on PaysChamp {
|
||||
pays {
|
||||
name
|
||||
code
|
||||
}
|
||||
}
|
||||
... on SiretChamp {
|
||||
etablissement {
|
||||
...PersonneMoraleFragment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue