# Root Query type for changing model state
MutationType = GraphQL::ObjectType.define do
  name 'Mutation'
  description 'The mutation root of this schema for creating or changing data.'
  field :UpdateDeveloper, field: UpdateDeveloper.field
  field :UpdateEmployer, field: Employers::UpdateEmployer.field
  field :EmployerFileUpload, field: Employers::FileUpload.field
end

# Root Query type for changing model state
MutationType = GraphQL::ObjectType.define do
  name 'Mutation'
  description 'The mutation root of this schema for creating or changing data.'
  field :UpdateDeveloper, field: UpdateDeveloper.field
  field :UpdateEmployer, field: Employers::UpdateEmployer.field
  field :ToggleFavourite, field: Developers::ToggleFavourite.field
  field :EmployerFileUpload, field: Employers::FileUpload.field
end

Add mutation to root mutation type
Add mutation to root mutation type
