Sha256: 5d32aabde73e25f5d80c1f72292da2717dbfd55b3721b3dd457124b359fc8a38

Contents?: true

Size: 371 Bytes

Versions: 50

Compression:

Stored size: 371 Bytes

Contents

<% module_namespacing_when_supported do -%>
module Mutations
  class <%= class_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
<% end -%>

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
graphql-2.0.31 lib/generators/graphql/templates/mutation.erb
graphql-1.13.23 lib/generators/graphql/templates/mutation.erb
graphql-2.0.29 lib/generators/graphql/templates/mutation.erb
graphql-1.13.22 lib/generators/graphql/templates/mutation.erb
graphql-2.0.28 lib/generators/graphql/templates/mutation.erb
graphql-1.13.21 lib/generators/graphql/templates/mutation.erb
graphql-1.13.20 lib/generators/graphql/templates/mutation.erb
graphql-2.1.0 lib/generators/graphql/templates/mutation.erb
graphql-2.0.27 lib/generators/graphql/templates/mutation.erb
graphql-2.0.26 lib/generators/graphql/templates/mutation.erb
graphql-2.0.25 lib/generators/graphql/templates/mutation.erb
graphql-2.0.24 lib/generators/graphql/templates/mutation.erb
graphql-2.0.23 lib/generators/graphql/templates/mutation.erb
graphql-2.0.22 lib/generators/graphql/templates/mutation.erb
graphql-2.0.21 lib/generators/graphql/templates/mutation.erb
graphql-2.0.20 lib/generators/graphql/templates/mutation.erb
graphql-2.0.17.2 lib/generators/graphql/templates/mutation.erb
graphql-2.0.17.1 lib/generators/graphql/templates/mutation.erb
graphql-2.0.19 lib/generators/graphql/templates/mutation.erb
graphql-2.0.18 lib/generators/graphql/templates/mutation.erb