Sha256: 61b75f032234f0c3ee3019eb0d84d7ff9f156bfee2abf97ec5726f2dc00955d4

Contents?: true

Size: 306 Bytes

Versions: 108

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing_when_supported do -%>
module Types
  class <%= ruby_class_name %> < Types::BaseObject
<% if options.node %>    implements GraphQL::Types::Relay::Node
<% end %><% normalized_fields.each do |f| %>    <%= f.to_object_field %>
<% end %>  end
end
<% end -%>

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
graphql-2.4.9 lib/generators/graphql/templates/object.erb
graphql-2.4.8 lib/generators/graphql/templates/object.erb
graphql-2.4.7 lib/generators/graphql/templates/object.erb
graphql-2.4.6 lib/generators/graphql/templates/object.erb
graphql-2.4.5 lib/generators/graphql/templates/object.erb
graphql-2.4.4 lib/generators/graphql/templates/object.erb
graphql-2.4.3 lib/generators/graphql/templates/object.erb
graphql-2.4.2 lib/generators/graphql/templates/object.erb
graphql-2.4.1 lib/generators/graphql/templates/object.erb
graphql-2.4.0 lib/generators/graphql/templates/object.erb
graphql-2.3.20 lib/generators/graphql/templates/object.erb
graphql-2.3.19 lib/generators/graphql/templates/object.erb
graphql-2.3.18 lib/generators/graphql/templates/object.erb
graphql-2.3.17 lib/generators/graphql/templates/object.erb
graphql-2.3.16 lib/generators/graphql/templates/object.erb
graphql-2.3.15 lib/generators/graphql/templates/object.erb
graphql-2.3.14 lib/generators/graphql/templates/object.erb
graphql-2.3.13 lib/generators/graphql/templates/object.erb
graphql-2.3.12 lib/generators/graphql/templates/object.erb
graphql-2.3.11 lib/generators/graphql/templates/object.erb