Sha256: 17e979fe2455eeaad4c5fbdcd4321c9294a5402fdfc81e5c2b439218ee942811

Contents?: true

Size: 193 Bytes

Versions: 6

Compression:

Stored size: 193 Bytes

Contents

module Types::Objects
  class <%= @model_name.titleize %>Type < Types::BaseObject

    graphql_name "<%= @model_name.titleize %>"

    field :id,                  Integer, null: false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cm-graphql-0.0.7 lib/generators/cm_graphql/templates/record_type.rb
cm-graphql-0.0.6 lib/generators/cm_graphql/templates/record_type.rb
cm-graphql-0.0.5 lib/generators/cm_graphql/templates/record_type.rb
cm-graphql-0.0.3 lib/generators/cm_graphql/templates/record_type.rb
cm-graphql-0.0.2 lib/generators/cm_graphql/templates/record_type.rb
cm-graphql-0.0.1 lib/generators/cm_graphql/templates/record_type.rb