diff --git a/entgql/template/collection.tmpl b/entgql/template/collection.tmpl index 6d373b15d..c12afa7a7 100644 --- a/entgql/template/collection.tmpl +++ b/entgql/template/collection.tmpl @@ -15,7 +15,6 @@ in the LICENSE file in the root directory of this source tree. import ( "entgo.io/contrib/entgql" - "github.com/99designs/gqlgen/graphql" {{- range $n := $gqlNodes }} "{{ $.Config.Package }}/{{ $n.Package }}" {{- end }} diff --git a/entgql/template/edge.tmpl b/entgql/template/edge.tmpl index 804322afd..4af8530cc 100644 --- a/entgql/template/edge.tmpl +++ b/entgql/template/edge.tmpl @@ -15,7 +15,6 @@ import ( "context" "entgo.io/contrib/entgql" - "github.com/99designs/gqlgen/graphql" ) {{ range $n := filterNodes $.Nodes (skipMode "type") }} diff --git a/entgql/template/node.tmpl b/entgql/template/node.tmpl index 80c88b6e5..a44eb03e1 100644 --- a/entgql/template/node.tmpl +++ b/entgql/template/node.tmpl @@ -40,7 +40,6 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/schema" "entgo.io/contrib/entgql" - "github.com/99designs/gqlgen/graphql" "github.com/hashicorp/go-multierror" "golang.org/x/sync/semaphore" ) diff --git a/entgql/template/pagination.tmpl b/entgql/template/pagination.tmpl index 6a7a96a8b..1cf73d2d5 100644 --- a/entgql/template/pagination.tmpl +++ b/entgql/template/pagination.tmpl @@ -34,7 +34,6 @@ import ( "entgo.io/ent/dialect/sql" "entgo.io/contrib/entgql" - "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/errcode" "github.com/vektah/gqlparser/v2/gqlerror" "github.com/vmihailenco/msgpack/v5"