Sha256: 82e17c224a36cd4efc8962febcca65cd7e42298eb4c90801328c8fc460b0441c

Contents?: true

Size: 252 Bytes

Versions: 14

Compression:

Stored size: 252 Bytes

Contents

<%# TEMPLATE TYPE %>
module Types
  class <%= @camelize_name %>Type <%= "<" %> Types::BaseObject
    <% for field in @type_fields %><%=field%>
    <% end %>

    field :created_at, String, null: true
    field :updated_at, String, null: true
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
graphql_helper_generator-0.0.15 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql_helper_generator-0.0.14 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql_helper_generator-0.0.13 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql-generator-0.0.12 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql_helper_generator-0.0.12 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql_helper_generator-0.0.11 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql_helper_generator-0.0.10 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql_helper_generator-0.0.9 lib/graphql_helper_generator/graphql_model/templates/graphql_types/type_template.erb
graphql-generator-0.0.8 lib/graphql_generator/graphql/templates/graphql_types/type_template.erb
graphql-generator-0.0.6 lib/graphql_generator/graphql/templates/graphql_types/type_template.erb
graphql-generator-0.0.5 lib/generators/graphql_generator/templates/graphql_types/type_template.erb
graphql-generator-0.0.4 lib/graphql_generator/generator/templates/graphql_types/type_template.erb
graphql-generator-0.0.3 lib/graphql_generator/generator/templates/graphql_types/type_template.erb
graphql-generator-0.0.2 lib/graphql_generator/generator/templates/graphql_types/type_template.erb