Skip to content

Commit 9198f54

Browse files
committed
fix: issue #65: type of ResolveInfo.RootValue should be interface{}
1 parent 8a92e97 commit 9198f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type Params struct {
1717

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

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

0 commit comments

Comments
 (0)