fookiegql

package
v0.0.0-...-727718e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSchema

func BuildSchema(schema *ast.Schema, eventBus *events.Bus, roomBus *events.RoomBus) (graphql.Schema, error)

func GraphiQLWrapper

func GraphiQLWrapper(api http.Handler) http.Handler

func IsSubscriptionOperation

func IsSubscriptionOperation(doc string, operationName string) (bool, error)

func MapFieldType

func MapFieldType(ft ast.FieldType) graphql.Output

func NewHandler

func NewHandler(executor *runtime.Executor, schema graphql.Schema, idem *runtime.IdempotencyStore) http.Handler

func NewWSHandler

func NewWSHandler(executor *runtime.Executor, schema graphql.Schema) http.Handler

func WithAdminKey

func WithAdminKey(ctx context.Context, key string) context.Context

func WithExecutor

func WithExecutor(ctx context.Context, exec *runtime.Executor) context.Context

func WithToken

func WithToken(ctx context.Context, token string) context.Context

Types

type ExtraField

type ExtraField struct {
	Name    string
	GQLType graphql.Input
}

func DetectExtraInputFields

func DetectExtraInputFields(model *ast.Model, op *ast.Operation, schema *ast.Schema) []ExtraField

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL