GospelToolbox/Labs

View on GitHub
app/graphql/types/mutation_type.rb

Summary

Maintainability
A
0 mins
Test Coverage
Types::MutationType = GraphQL::ObjectType.define do
  name "Mutation"

  # TODO: Remove me
  field :testField, types.String do
    description "An example field added by the generator"
    resolve ->(obj, args, ctx) {
      "Hello World!"
    }
  end
end