Versions in this module Expand all Collapse all v0 v0.0.9 Sep 8, 2022 Changes in this version type SchemaOpt + func DirectiveFuncs(dirFuncs map[string]types.DirectiveFunc) SchemaOpt v0.0.8 Sep 8, 2022 Changes in this version type Schema + func (s *Schema) ASTSchema() *types.Schema type SchemaOpt + func DirectiveExecutors(executors map[string]types.DirectiveExecutor) SchemaOpt + func PanicHandler(panicHandler errors.PanicHandler) SchemaOpt v0.0.7 Apr 16, 2021 Changes in this version + type NullBool struct + Set bool + Value *bool + func (NullBool) ImplementsGraphQLType(name string) bool + func (s *NullBool) Nullable() + func (s *NullBool) UnmarshalGraphQL(input interface{}) error + type NullFloat struct + Set bool + Value *float64 + func (NullFloat) ImplementsGraphQLType(name string) bool + func (s *NullFloat) Nullable() + func (s *NullFloat) UnmarshalGraphQL(input interface{}) error + type NullInt struct + Set bool + Value *int32 + func (NullInt) ImplementsGraphQLType(name string) bool + func (s *NullInt) Nullable() + func (s *NullInt) UnmarshalGraphQL(input interface{}) error + type NullString struct + Set bool + Value *string + func (NullString) ImplementsGraphQLType(name string) bool + func (s *NullString) Nullable() + func (s *NullString) UnmarshalGraphQL(input interface{}) error + type NullTime struct + Set bool + Value *Time + func (NullTime) ImplementsGraphQLType(name string) bool + func (s *NullTime) Nullable() + func (s *NullTime) UnmarshalGraphQL(input interface{}) error type Schema + func (s *Schema) ValidateWithVariables(queryString string, variables map[string]interface{}) []*errors.QueryError type SchemaOpt + func SubscribeResolverTimeout(timeout time.Duration) SchemaOpt v0.0.6 Nov 30, 2020 v0.0.5 Oct 29, 2020 v0.0.4 Oct 26, 2020 v0.0.3 Oct 22, 2020 v0.0.2 Jul 27, 2020 v0.0.1 Jul 23, 2020 Changes in this version + type ID string + func (ID) ImplementsGraphQLType(name string) bool + func (id *ID) UnmarshalGraphQL(input interface{}) error + func (id ID) MarshalJSON() ([]byte, error) + type Response struct + Data json.RawMessage + Errors []*errors.QueryError + Extensions map[string]interface{} + type Schema struct + func MustParseSchema(schemaString string, resolver interface{}, opts ...SchemaOpt) *Schema + func ParseSchema(schemaString string, resolver interface{}, opts ...SchemaOpt) (*Schema, error) + func (s *Schema) Exec(ctx context.Context, queryString string, operationName string, ...) *Response + func (s *Schema) Inspect() *introspection.Schema + func (s *Schema) Subscribe(ctx context.Context, queryString string, operationName string, ...) (<-chan interface{}, error) + func (s *Schema) ToJSON() ([]byte, error) + func (s *Schema) Validate(queryString string) []*errors.QueryError + type SchemaOpt func(*Schema) + func DisableIntrospection() SchemaOpt + func Logger(logger log.Logger) SchemaOpt + func MaxDepth(n int) SchemaOpt + func MaxParallelism(n int) SchemaOpt + func Tracer(tracer trace.Tracer) SchemaOpt + func UseFieldResolvers() SchemaOpt + func UseStringDescriptions() SchemaOpt + func ValidationTracer(tracer trace.ValidationTracer) SchemaOpt + type Time struct + func (Time) ImplementsGraphQLType(name string) bool + func (t *Time) UnmarshalGraphQL(input interface{}) error + func (t Time) MarshalJSON() ([]byte, error)