Some associations have no date_creation

This commit is contained in:
Paul Chavard 2021-03-04 16:18:12 +01:00
parent 2a5d7cf696
commit 47e232f439
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