Merge pull request #5958 from tchak/make_association_date_creation_nullable

GraphQL : corrige la date de création des associations
This commit is contained in:
Pierre de La Morinerie 2021-03-04 16:41:24 +01:00 committed by GitHub
commit c8d775af29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ enum AddressType {
}
type Association {
dateCreation: ISO8601Date!
dateCreation: ISO8601Date
dateDeclaration: ISO8601Date!
datePublication: ISO8601Date!
objet: String!

View file

@ -75,7 +75,7 @@ module Types
field :rna, String, null: false
field :titre, String, null: false
field :objet, String, null: false
field :date_creation, GraphQL::Types::ISO8601Date, null: false
field :date_creation, GraphQL::Types::ISO8601Date, null: true
field :date_declaration, GraphQL::Types::ISO8601Date, null: false
field :date_publication, GraphQL::Types::ISO8601Date, null: false
end