-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "RangeError: Maximum call stack size exceeded" for some of my queries #6107
Comments
@mnlbox I had the same issue for only one of my complex and nested queries. As you also marked It seems it's an issue related to the JIT package that is used in the
|
I can confirm this is an issue. In our case providing filters as variable resulted in this issue. As we are using npm, I fixed the version using:
Thanks @BabakScript for the hint! |
This worked for us!!!! Thank you. |
@ardatan it's still exists on the latest version of mesh but it works with the hack suggested by BabakScript (Thanks @BabakScript 🎉 ) |
Thanks everyone for the report! can someone create a runnable reproduction of the issue? Just to advance from Thank you and sorry that this comment is not a complete solution (yet). |
For us the problem was related to queries like this: with: leading to: whereas this kind of query (filters inlined): ran just fine. Not sure, if I can provide a minimum working example soon, as our structure is very complex. But I hope this helps. |
@Urigo I guess it is related to the combination of the schema, because if you comment the second schema in the sources definition it is working fine. I have written down detailed reproduction information in the README in the repo. In case of any questions do not hesitate to contact me. |
@Urigo @ardatan We are still using You can see the security issue reported by Mend here: |
I'm also facing this issue and currently using the workaround suggested by @BabakScript (thanks for the workaround @BabakScript !). I'll follow this thread to know when a better solution becomes available. |
Guys, is it still safe to use 0.96.3 version of runtime package? |
Thanks @ardatan for the fix. 👍 |
…runtime Updated @graphql-mesh dependecies ardatan/graphql-mesh#6107
…runtime Updated @graphql-mesh dependecies ardatan/graphql-mesh#6107 # Conflicts: # yarn.lock
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Github,
Stackblitz
or
CodeSandbox
Describe the bug
I'm getting the error bellow for some of my queries:
It seems it's related to
graphql-jit
package and maybe related to this issue: zalando-incubator/graphql-jit#81To Reproduce Steps to reproduce the behavior:
Expected behavior
It's better if we can disable JIT with an environment variable. I see we have an unfinished PR in this regard here:
#3817
Environment:
@graphql-mesh/...
:Additional context
The text was updated successfully, but these errors were encountered: