From 3b35885c904126e6ba66fab08509e2becf9976cb Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Fri, 21 Jul 2023 17:50:43 -0600 Subject: [PATCH] Fix --- gql_types.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gql_types.go b/gql_types.go index 7b3c1b2..d27a9d3 100644 --- a/gql_types.go +++ b/gql_types.go @@ -5,10 +5,8 @@ import ( "reflect" ) -type Field *graphql.Field - -func NewField(init func()*graphql.Field) Field { - return Field(init()) +func NewField(init func()*graphql.Field) *graphql.Field { + return init() } type Singleton[K graphql.Type] struct {