diff --git a/gql.go b/gql.go index 5364ded..f71aa48 100644 --- a/gql.go +++ b/gql.go @@ -605,7 +605,7 @@ func GQLFields(ctx *GQLExtContext, field_names []string) (graphql.Fields, []ExtT type NodeResult struct { ID NodeID - Result *ReadResultSignal + Result ReadResultSignal } type ListField struct { diff --git a/gql_query.go b/gql_query.go index a2cfa6a..45217c4 100644 --- a/gql_query.go +++ b/gql_query.go @@ -71,7 +71,7 @@ func ResolveNodes(ctx *ResolveContext, p graphql.ResolveParams, ids []NodeID) ([ if err != nil { return nil, err } - responses = append(responses, NodeResult{node_id, response.(*ReadResultSignal)}) + responses = append(responses, NodeResult{node_id, response.(ReadResultSignal)}) } return responses, nil