diff --git a/lib/schemaProxy.js b/lib/schemaProxy.js index 0cc5356a..f2de9f0d 100644 --- a/lib/schemaProxy.js +++ b/lib/schemaProxy.js @@ -112,6 +112,9 @@ const handler = ({ } else { console.error('cannot resolve', basedoc); } + } else if (retval[symbols.filename]) { + // console.log('I am in a loop!'); + return retval; } // console.log('making new proxy from', target, prop, 'receiver', receiver[symbols.id]);