Sha256: 28c0b1a8e6f39d5fb4255f9b8a92c4292d92b7c64c020c264bd922b01be9a480

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

class <%= type_ruby_name %> < Types::BaseObject
<% if options.node %>  implements GraphQL::Relay::Node.interface
<% end %><% normalized_fields.each do |f| %>  <%= f.to_ruby %>
<% end %>end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
graphql-1.8.6 lib/generators/graphql/templates/object.erb
graphql-1.8.5 lib/generators/graphql/templates/object.erb
graphql-1.8.4 lib/generators/graphql/templates/object.erb
graphql-1.8.3 lib/generators/graphql/templates/object.erb
graphql-1.8.2 lib/generators/graphql/templates/object.erb