Categorygithub.com/jacob-ebey/graphql-core
modulepackage
0.0.0-20191125000559-e770080c26be
Repository: https://github.com/jacob-ebey/graphql-core.git
Documentation: pkg.go.dev

# README

graphql-core

A thin wrapper around github.com/graphql-go/graphql allowing applications to be easily designed and deployed to whatever hosting platform you desire.

Core API

GraphQLExecutor struct

Fields

RunAfter []PostExecuteHook

A slice of PostExecuteHook's to run after the query has completed. Handy for logging.

RunBefore []PreExecuteHook

A slice of PreExecuteHook's to run before the query is executed. Handy for logging and populating the context.

Schema graphql.Schema

The schema to execute.

Methods

Execute(ctx context.Context, req GraphQLRequest) (*graphql.Result, error)

Execute the request with the provided context.

# Packages

No description provided by the author

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author