Sha256: e756f1161a1038d079b191884edac2f380ea2f37a86ecbea06924741c370a387
Contents?: true
Size: 664 Bytes
Versions: 48
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true module Types class QueryType < Ibrain::Types::BaseApiObject description 'Define all resolver for client' # Add `node(id: ID!) and `nodes(ids: [ID!]!)` include GraphQL::Types::Relay::HasNodeField include GraphQL::Types::Relay::HasNodesField # Add root-level fields here. # Default session_required is true, set false if yout want to skip authenticated # They will be entry points for queries on your schema. # Example with user resolvers # field :authenticated_users, resolver: Resolvers::UsersResolver # field :users, resolver: Resolvers::UsersResolver, session_required: false end end
Version data entries
48 entries across 48 versions & 1 rubygems