From b06c741ee3a51fa552cbd03590a6d909a2211618 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 31 Jul 2023 18:38:40 -0600 Subject: [PATCH] GQL fix --- gql.go | 2 +- gql_query.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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