Sha256: 7fc09fb207b0f6e03852c6670641610684d0ea9927e68349cc9220f977b2de1c

Contents?: true

Size: 282 Bytes

Versions: 33

Compression:

Stored size: 282 Bytes

Contents

<% module_namespacing_when_supported do -%>
module Types
  class <%= type_ruby_name.split('::')[-1] %> < Types::BaseObject
<% if options.node %>    implements GraphQL::Types::Relay::Node
<% end %><% normalized_fields.each do |f| %>    <%= f.to_ruby %>
<% end %>  end
end
<% end -%>

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
graphql-1.12.12 lib/generators/graphql/templates/object.erb
graphql-1.12.11 lib/generators/graphql/templates/object.erb
graphql-1.12.10 lib/generators/graphql/templates/object.erb
graphql-1.12.9 lib/generators/graphql/templates/object.erb
graphql-1.12.8 lib/generators/graphql/templates/object.erb
graphql-1.12.7 lib/generators/graphql/templates/object.erb
graphql-1.12.6 lib/generators/graphql/templates/object.erb
graphql-1.12.5 lib/generators/graphql/templates/object.erb
graphql-1.12.4 lib/generators/graphql/templates/object.erb
graphql-1.12.3 lib/generators/graphql/templates/object.erb
graphql-1.12.2 lib/generators/graphql/templates/object.erb
graphql-1.12.1 lib/generators/graphql/templates/object.erb
graphql-1.12.0 lib/generators/graphql/templates/object.erb