From 3acc942111a9051e53d93138363405bce4f2b33b Mon Sep 17 00:00:00 2001 From: technoweenie Date: Wed, 19 Feb 2020 13:16:19 -0700 Subject: [PATCH] graphql/executor: ensure Executor implements graphql.GraphExecutor. --- graphql/executor/executor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphql/executor/executor.go b/graphql/executor/executor.go index 741f660c19c..9a27a219e0b 100644 --- a/graphql/executor/executor.go +++ b/graphql/executor/executor.go @@ -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 {