Mutations::<%= mutation_name %> = GraphQL::Relay::Mutation.define do name "<%= mutation_name %>" # TODO: define return fields # return_field :post, Types::PostType # TODO: define arguments # input_field :name, !types.String resolve ->(obj, args, ctx) { # TODO: define resolve function } end