Sha256: 5ddcbe40be0f792bc47643ce8c1ae45bd5fd3c8f9a66dbcf003977cafcaa50d6

Contents?: true

Size: 324 Bytes

Versions: 68

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing_when_supported do -%>
module Types
  class MutationType < Types::BaseObject
    # TODO: remove me
    field :test_field, String, null: false,
      description: "An example field added by the generator"
    def test_field
      "Hello World"
    end
  end
end
<% end -%>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
graphql-2.4.14 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.3.22 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.1.15 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.1.14 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.2.17 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.3.21 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.13 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.12 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.11 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.10 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.9 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.8 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.7 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.6 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.5 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.4 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.3 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.2 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.1 lib/generators/graphql/install/templates/mutation_type.erb
graphql-2.4.0 lib/generators/graphql/install/templates/mutation_type.erb