diff --git a/index.js b/index.js index adfe293..f5c6ca1 100644 --- a/index.js +++ b/index.js @@ -60,6 +60,8 @@ const generateQuery = ( ).queryStr) .filter(cur => cur) .join('\n'); + // Allow the same references in siblings + crossReferenceKeyList.pop(); } if (!(curType.getFields && !childQuery)) {