Skip to content

Commit e7b0b04

Browse files
committed
fixed multi level linked query bug
1 parent 1fc327b commit e7b0b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/utils/graphql/helpers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (graph *Module) processLinkedResult(ctx context.Context, field *ast.Field,
210210
newCB(nil, nil)
211211
return
212212
}
213-
req := &model.ReadRequest{Operation: utils.All, Find: map[string]interface{}{linkedInfo.To: findVar}}
213+
req := &model.ReadRequest{Operation: utils.All, Find: map[string]interface{}{linkedInfo.To: findVar}, PostProcess: map[string]*model.PostProcess{}}
214214
graph.processLinkedResult(ctx, field, *linkedFieldSchema, token, req, store, newCB)
215215
return
216216
}

0 commit comments

Comments
 (0)