Skip to content

Commit

Permalink
fix: issue #65: type of ResolveInfo.RootValue should be interface{}
Browse files Browse the repository at this point in the history
  • Loading branch information
chirino committed Aug 3, 2021
1 parent 8a92e97 commit 9198f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Params struct {

// The value provided as the first argument to resolver functions on the top
// level type (e.g. the query object type).
RootObject map[string]interface{}
RootObject interface{}

// A mapping of variable name to runtime value to use for all variables
// defined in the requestString.
Expand Down

0 comments on commit 9198f54

Please sign in to comment.