Sha256: ee0599bf9fe571b8058ff482a54caa4802ffbeeab8cb520ad2f946734cc5180d
Contents?: true
Size: 415 Bytes
Versions: 51
Compression:
Stored size: 415 Bytes
Contents
Types::QueryType = GraphQL::ObjectType.define do name "Query" # Add root-level fields here. # They will be entry points for queries on your schema. # TODO: remove me field :testField, types.String do description "An example field added by the generator" resolve ->(obj, args, ctx) { "Hello World!" } end <% if options[:relay] %> field :node, GraphQL::Relay::Node.field <% end %>end
Version data entries
51 entries across 51 versions & 1 rubygems