Sha256: 3267179a539fb5f564fb56491de8c2e1a07bc081c7d6ef50ddea7ec93f99fc6c
Contents?: true
Size: 427 Bytes
Versions: 12
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true module Types class QueryType < Types::BaseObject field :user, resolver: Resolvers::UserShow field :public_field, String, null: false, authenticate: false field :private_field, String, null: false, authenticate: true def public_field 'Field does not require authentication' end def private_field 'Field will always require authentication' end end end
Version data entries
12 entries across 12 versions & 1 rubygems