Sha256: a02fa2f92191b1799436d2db57036af1d7be43590f40af2271181880581adea0

Contents?: true

Size: 319 Bytes

Versions: 28

Compression:

Stored size: 319 Bytes

Contents

module Mutations
  class <%= mutation_name %> < BaseMutation
    # TODO: define return fields
    # field :post, Types::PostType, null: false

    # TODO: define arguments
    # argument :name, String, required: true

    # TODO: define resolve method
    # def resolve(name:)
    #   { post: ... }
    # end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
graphql-1.11.3 lib/generators/graphql/templates/mutation.erb
graphql-1.11.2 lib/generators/graphql/templates/mutation.erb
graphql-1.10.14 lib/generators/graphql/templates/mutation.erb
graphql-1.11.1 lib/generators/graphql/templates/mutation.erb
graphql-1.10.13 lib/generators/graphql/templates/mutation.erb
graphql-1.11.0 lib/generators/graphql/templates/mutation.erb
graphql-1.10.12 lib/generators/graphql/templates/mutation.erb
graphql-1.9.21 lib/generators/graphql/templates/mutation.erb
graphql-1.10.11 lib/generators/graphql/templates/mutation.erb
graphql-1.9.20 lib/generators/graphql/templates/mutation.erb
graphql-1.10.10 lib/generators/graphql/templates/mutation.erb
graphql-1.10.9 lib/generators/graphql/templates/mutation.erb
graphql-1.10.8 lib/generators/graphql/templates/mutation.erb
graphql-1.10.7 lib/generators/graphql/templates/mutation.erb
graphql-1.10.6 lib/generators/graphql/templates/mutation.erb
graphql-1.10.5 lib/generators/graphql/templates/mutation.erb
graphql-1.10.4 lib/generators/graphql/templates/mutation.erb
graphql-1.10.3 lib/generators/graphql/templates/mutation.erb
graphql-1.10.2 lib/generators/graphql/templates/mutation.erb
graphql-1.9.19 lib/generators/graphql/templates/mutation.erb