gql.tada: gql.tada turbo Maximum call stack size exceeded
Describe the bug
I’ve been using the turbo command for a while now. Today I added some new queries and now I am getting a Maximum call stack size exceeded error and I am not even sure how to begin debugging it. I was going to ask in discord but the link https://urql.dev/discord is broken. Thank you for the help!
⚠ Unexpected Error
Could not build cache
┗ RangeError: Maximum call stack size exceeded
at getNameOfSymbolAsWritten (/test/node_modules/typescript/lib/typescript.js:58431:36)
at createExpressionFromSymbolChain (/test/node_modules/typescript/lib/typescript.js:55959:27)
at symbolToExpression (/test/node_modules/typescript/lib/typescript.js:55952:14)
at symbolToNode (/test/node_modules/typescript/lib/typescript.js:54160:14)
at /test/node_modules/typescript/lib/typescript.js:54068:144
at withContext2 (/test/node_modules/typescript/lib/typescript.js:54191:29)
at symbolToNode (/test/node_modules/typescript/lib/typescript.js:54068:80)
at symbolToStringWorker (/test/node_modules/typescript/lib/typescript.js:53958:22)
at usingSingleLineStringWriter (/test/node_modules/typescript/lib/typescript.js:16324:5)
at symbolToString (/test/node_modules/typescript/lib/typescript.js:53956:62)
Reproduction
No response
gql.tada version
“gql.tada”: “^1.8.2”, “typescript”: “5.5.4”
Validations
- I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
- Read the docs.
- Follow our Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (10 by maintainers)
@raphael-yapla: Cheers! I’ll take a look tomorrow. Shouldn’t take too long with the reproduction ❤️
@arjunyel: Nah, no worries. Notifications are ongoing without mentions/re-opening being needed, since all participants are subscribed, unless they unsubscribe.
Just to narrow this down. Were you using Vue or Svelte as well by any chance?