Sha256: 601749119dddd55b1dad2e7b3ccba7c6a088be94fd8ac29da40183537f487aa4
Contents?: true
Size: 471 Bytes
Versions: 9
Compression:
Stored size: 471 Bytes
Contents
<% module_namespacing_when_supported do -%> module Types class QueryType < Types::BaseObject # Add root-level fields here. # They will be entry points for queries on your schema. # TODO: remove me field :test_field, String, null: false, description: "An example field added by the generator" def test_field "Hello World!" end <% if options[:relay] %> field :node, field: GraphQL::Relay::Node.field <% end %> end end <% end -%>
Version data entries
9 entries across 9 versions & 1 rubygems