Sha256: b68e35d038cc381827767f8e063f4b3ae2a396cb8e1217468ef3462f57ae21ab
Contents?: true
Size: 396 Bytes
Versions: 4
Compression:
Stored size: 396 Bytes
Contents
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
4 entries across 4 versions & 1 rubygems