We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 965e679 + 5112665 commit cef7282Copy full SHA for cef7282
src/resolvers/resolver.ts
@@ -153,8 +153,8 @@ const applySubQueries = async (
153
const children = hydrate(subNode, rawChildren);
154
155
for (const child of children) {
156
- const childClone = cloneDeep(child);
157
for (const entry of entriesById[child[foreignKey] as string]) {
+ const childClone = cloneDeep(child);
158
childClone.PARENT = entry;
159
if (isList) {
160
(entry[fieldName] as Entry[]).push(childClone);
0 commit comments