Sha256: 4190410dee9aff06f12206119f6eb6ad0c81c7e3affbe916087281b11daed4a1

Contents?: true

Size: 244 Bytes

Versions: 51

Compression:

Stored size: 244 Bytes

Contents

<%= type_ruby_name %> = GraphQL::ObjectType.define do
  name "<%= type_graphql_name %>"
<% if options.node %>  implements GraphQL::Relay::Node.interface
<% end %><% normalized_fields.each do |f| %>  field :<%= f[0] %>, <%= f[1] %>
<% end %>end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
graphql-1.8.0.pre1 lib/generators/graphql/templates/object.erb
graphql-1.7.6 lib/generators/graphql/templates/object.erb
graphql-1.7.5 lib/generators/graphql/templates/object.erb
graphql-1.7.4 lib/generators/graphql/templates/object.erb
graphql-1.7.3 lib/generators/graphql/templates/object.erb
graphql-1.7.2 lib/generators/graphql/templates/object.erb
graphql-1.7.1 lib/generators/graphql/templates/object.erb
graphql-1.7.0 lib/generators/graphql/templates/object.erb
graphql-1.6.8 lib/generators/graphql/templates/object.erb
graphql-1.6.7 lib/generators/graphql/templates/object.erb
graphql-1.6.6 lib/generators/graphql/templates/object.erb
graphql-1.6.5 lib/generators/graphql/templates/object.erb
graphql-1.6.4 lib/generators/graphql/templates/object.erb
graphql-1.5.15 lib/generators/graphql/templates/object.erb
graphql-1.6.3 lib/generators/graphql/templates/object.erb
graphql-1.6.2 lib/generators/graphql/templates/object.erb
graphql-1.6.1 lib/generators/graphql/templates/object.erb
graphql-1.6.0 lib/generators/graphql/templates/object.erb
graphql-1.5.14 lib/generators/graphql/templates/object.erb
graphql-1.5.13 lib/generators/graphql/templates/object.erb