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
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!

View file

@ -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