Skip to content

Commit

Permalink
graphql/executor: ensure Executor implements graphql.GraphExecutor.
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Feb 19, 2020
1 parent f89b973 commit 3acc942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions graphql/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ type Executor struct {
queryCache graphql.Cache
}

var _ graphql.GraphExecutor = &Executor{}

// New creates a new Executor with the given schema, and a default error and
// recovery callbacks, and no query cache or extensions.
func New(es graphql.ExecutableSchema) *Executor {
Expand Down

0 comments on commit 3acc942

Please sign in to comment.