Merge pull request #5805 from tchak/graphql-fix-nullable-field
GraphQL: make parts of address nullable
This commit is contained in:
commit
f7f832bed8
2 changed files with 4 additions and 4 deletions
|
@ -1055,13 +1055,13 @@ type PersonneMorale implements Demandeur {
|
|||
association: Association
|
||||
codeInseeLocalite: String!
|
||||
codePostal: String!
|
||||
complementAdresse: String!
|
||||
complementAdresse: String
|
||||
entreprise: Entreprise
|
||||
id: ID!
|
||||
libelleNaf: String!
|
||||
localite: String!
|
||||
naf: String!
|
||||
nomVoie: String!
|
||||
nomVoie: String
|
||||
numeroVoie: String
|
||||
siegeSocial: Boolean!
|
||||
siret: String!
|
||||
|
|
|
@ -89,8 +89,8 @@ module Types
|
|||
field :adresse, String, null: false
|
||||
field :numero_voie, String, null: true
|
||||
field :type_voie, String, null: true
|
||||
field :nom_voie, String, null: false
|
||||
field :complement_adresse, String, null: false
|
||||
field :nom_voie, String, null: true
|
||||
field :complement_adresse, String, null: true
|
||||
field :code_postal, String, null: false
|
||||
field :localite, String, null: false
|
||||
field :code_insee_localite, String, null: false
|
||||
|
|
Loading…
Reference in a new issue