Skip to content

Commit

Permalink
the joining is the hard part, more tomorrow
Browse files Browse the repository at this point in the history
  • Loading branch information
burner committed Aug 4, 2023
1 parent 0abc95e commit c4d35ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/graphql/graphql.d
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ class GraphQLD(T, QContext = DefaultContext) {
ret["data"] ~= tmp["data"];
}
foreach(err; tmp[Constants.errors]) {
ret[Constants.errors] ~= err;
ret.insertError(err);
//ret[Constants.errors] ~= err;
}
writeln(ret["data"].toPrettyString());
}
} else {
Json tmp = this.executeSelectionSet(ss, elemType, item, variables,
Expand Down Expand Up @@ -581,9 +581,9 @@ class GraphQLD(T, QContext = DefaultContext) {
ec.path.popBack();
}
this.toRunArrayResolverFollow(field.f.ss, rsltTypeUn
, item, ret, variables, doc, context, ec);
, item, rslt, variables, doc, context, ec);
}
//joinInArray(ret, rslt, fieldName);
joinInArray(ret, rslt, fieldName);
//return ret;
//writeln(ret.toPrettyString());
}
Expand Down

0 comments on commit c4d35ee

Please sign in to comment.