Merge pull request #5805 from tchak/graphql-fix-nullable-field

GraphQL: make parts of address nullable
This commit is contained in:
LeSim 2020-12-16 14:51:53 +01:00 committed by GitHub
commit f7f832bed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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