Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctx ¶
type Ctx struct {
// contains filtered or unexported fields
}
func CreateContext ¶
func CreateContext(t *testing.T, projectName string, resolvers graphql.ExecutableSchema, defaultServices []*service.Definition, mockServices ...*service.Definition) *Ctx
func (*Ctx) HandleMutation ¶
func (ctx *Ctx) HandleMutation(mutation interface{}, variables map[string]interface{}) *graphqlParser.Errors
func (*Ctx) HandleQuery ¶
func (ctx *Ctx) HandleQuery(query interface{}, variables map[string]interface{}) *graphqlParser.Errors
Click to show internal directories.
Click to hide internal directories.