Versions in this module Expand all Collapse all v0 v0.2.0 Jul 21, 2026 v0.1.2 Jul 19, 2026 v0.1.1 Jul 18, 2026 v0.1.0 Jul 17, 2026 Changes in this version + const IntrospectionQuery + func ClaimsFromContext(ctx context.Context) map[string]any + func WithOperation(ctx context.Context, op *Operation) context.Context + type Executor struct + Built *schema.Built + Compile compile.Func + Hooks []RequestHook + Opts Options + Pool *pgxpool.Pool + func New(pool *pgxpool.Pool, built *schema.Built, compileFn compile.Func, ...) *Executor + func (e *Executor) Execute(ctx context.Context, req Request) *Result + type MintOptions struct + Audience string + Issuer string + Schema string + Secret string + Type string + func (m MintOptions) Enabled() bool + type Operation struct + Claims map[string]any + Definition *ast.OperationDefinition + Document *ast.QueryDocument + ForceTx bool + Name string + Role string + Type ast.Operation + Vars map[string]any + func OperationFromContext(ctx context.Context) *Operation + type Options struct + ClaimsPrefix string + DevErrors bool + Isolation pgx.TxIsoLevel + Logger *slog.Logger + MaxCost int + MaxDepth int + MaxPageSize int + Mint MintOptions + RLS bool + TxMutations bool + TxPerRequest bool + TxRetries int + type Request struct + Claims map[string]any + OperationName string + Query string + Role string + Variables map[string]any + type RequestHook interface + AfterOperation func(ctx context.Context, op *Operation, res *Result) + BeforeOperation func(ctx context.Context, op *Operation) (context.Context, error) + type Result struct + Data map[string]json.RawMessage + Errors gqlerror.List + func (r *Result) MarshalJSON() ([]byte, error)