GraphQL: make parts of address nullable

This commit is contained in:
Paul Chavard 2020-12-15 17:57:37 +01:00
parent fdf2cd37f1
commit 43976550cf
2 changed files with 4 additions and 4 deletions

View file

@ -1055,13 +1055,13 @@ type PersonneMorale implements Demandeur {
association: Association association: Association
codeInseeLocalite: String! codeInseeLocalite: String!
codePostal: String! codePostal: String!
complementAdresse: String! complementAdresse: String
entreprise: Entreprise entreprise: Entreprise
id: ID! id: ID!
libelleNaf: String! libelleNaf: String!
localite: String! localite: String!
naf: String! naf: String!
nomVoie: String! nomVoie: String
numeroVoie: String numeroVoie: String
siegeSocial: Boolean! siegeSocial: Boolean!
siret: String! siret: String!

View file

@ -89,8 +89,8 @@ module Types
field :adresse, String, null: false field :adresse, String, null: false
field :numero_voie, String, null: true field :numero_voie, String, null: true
field :type_voie, String, null: true field :type_voie, String, null: true
field :nom_voie, String, null: false field :nom_voie, String, null: true
field :complement_adresse, String, null: false field :complement_adresse, String, null: true
field :code_postal, String, null: false field :code_postal, String, null: false
field :localite, String, null: false field :localite, String, null: false
field :code_insee_localite, String, null: false field :code_insee_localite, String, null: false