From 0fc62154482a48a0fadd6b7f00a0cd0f8c3bf987 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Wed, 20 Sep 2023 11:28:44 -0600 Subject: [PATCH] Allow resolution of non-acl fields --- gql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gql.go b/gql.go index 9b3e359..1b12b18 100644 --- a/gql.go +++ b/gql.go @@ -656,7 +656,7 @@ func (ctx *GQLExtContext) GetACLFields(obj_name string, names []string) (map[Ext default: field, exists := ctx.Fields[name] if exists == false { - return nil, fmt.Errorf("%s is not a know field in GQLContext, cannot resolve", name) + continue } ext, exists := ext_fields[field.Ext]