Allow resolution of non-acl fields
This commit is contained in:
parent
b09e150c46
commit
0fc6215448
2
gql.go
2
gql.go
|
|
@ -656,7 +656,7 @@ func (ctx *GQLExtContext) GetACLFields(obj_name string, names []string) (map[Ext
|
||||||
default:
|
default:
|
||||||
field, exists := ctx.Fields[name]
|
field, exists := ctx.Fields[name]
|
||||||
if exists == false {
|
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]
|
ext, exists := ext_fields[field.Ext]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue