-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Use createPaginationContainer cause to look for an un-existing query #67614
Comments
It looks like an issue of regex for capturing the operation name. Workaround would be removing
|
swc-project/plugins#333 should fix this |
That was it, I removed the comment, and it is working, thanks |
I'll close this once it's properly fixed |
### What? Update `swc_relay` ### Why? To fix a bug in operation name parsing. See swc-project/plugins#333 ### How? Fixes #67614
### What? Update `swc_relay` ### Why? To fix a bug in operation name parsing. See swc-project/plugins#333 ### How? Fixes #67614
### What? Update `swc_relay` ### Why? To fix a bug in operation name parsing. See swc-project/plugins#333 ### How? Fixes #67614
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/7tc9th?file=%2F.codesandbox%2Ftasks.json
To Reproduce
Current vs. Expected behavior
Current Behavior
It fails to load because is trying to look for a query that doesn't exist it always looks for
to.graphql.js
Expected behavior
It should load the page without error
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.12.1 npm: 10.5.0 Yarn: 1.22.19 pnpm: 8.15.6 Relevant Packages: next: 14.2.4 // Latest available version is detected (14.2.4). eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
SWC
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local)
Additional context
The relay compiler seems to be ok with this; if I run
pnpm relay-compiler
, it works fineThe text was updated successfully, but these errors were encountered: