From e97cb54001f40079510917347ced600d468a6f46 Mon Sep 17 00:00:00 2001 From: Julien Breux Date: Wed, 21 Feb 2018 19:25:32 +0100 Subject: [PATCH] Disable Field.Resolve from JSON export --- definition.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/definition.go b/definition.go index f2d54054..dffea080 100644 --- a/definition.go +++ b/definition.go @@ -631,9 +631,9 @@ type Field struct { Name string `json:"name"` // used by graphlql-relay Type Output `json:"type"` Args FieldConfigArgument `json:"args"` - Resolve FieldResolveFn - DeprecationReason string `json:"deprecationReason"` - Description string `json:"description"` + Resolve FieldResolveFn `json:"-"` + DeprecationReason string `json:"deprecationReason"` + Description string `json:"description"` } type FieldConfigArgument map[string]*ArgumentConfig