Make more association fields nullable
This commit is contained in:
parent
5525fc7be8
commit
82fca8be0b
2 changed files with 6 additions and 6 deletions
|
@ -104,9 +104,9 @@ enum AddressType {
|
|||
|
||||
type Association {
|
||||
dateCreation: ISO8601Date
|
||||
dateDeclaration: ISO8601Date!
|
||||
datePublication: ISO8601Date!
|
||||
objet: String!
|
||||
dateDeclaration: ISO8601Date
|
||||
datePublication: ISO8601Date
|
||||
objet: String
|
||||
rna: String!
|
||||
titre: String!
|
||||
}
|
||||
|
|
|
@ -74,10 +74,10 @@ module Types
|
|||
class AssociationType < Types::BaseObject
|
||||
field :rna, String, null: false
|
||||
field :titre, String, null: false
|
||||
field :objet, String, null: false
|
||||
field :objet, String, null: true
|
||||
field :date_creation, GraphQL::Types::ISO8601Date, null: true
|
||||
field :date_declaration, GraphQL::Types::ISO8601Date, null: false
|
||||
field :date_publication, GraphQL::Types::ISO8601Date, null: false
|
||||
field :date_declaration, GraphQL::Types::ISO8601Date, null: true
|
||||
field :date_publication, GraphQL::Types::ISO8601Date, null: true
|
||||
end
|
||||
|
||||
implements Types::DemandeurType
|
||||
|
|
Loading…
Reference in a new issue