Some associations have no date_creation
This commit is contained in:
parent
2a5d7cf696
commit
47e232f439
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ enum AddressType {
|
|||
}
|
||||
|
||||
type Association {
|
||||
dateCreation: ISO8601Date!
|
||||
dateCreation: ISO8601Date
|
||||
dateDeclaration: ISO8601Date!
|
||||
datePublication: ISO8601Date!
|
||||
objet: String!
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue