Skip to content

Commit

Permalink
Merge pull request #284 from JulienBreux/patch-1
Browse files Browse the repository at this point in the history
Disable Field.Resolve from JSON export
  • Loading branch information
chris-ramon authored Feb 23, 2018
2 parents 1c504cf + e97cb54 commit a881484
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a881484

Please sign in to comment.