-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
Problem With OpenAPI Private Identifiers #56612
Comments
Seems to be a regression in #51943 (v13.4.8-canary.10), we will have a look, thanks! |
This is a regression between |
I am having the exact same issue. Last nextjs version which works for me is 13.4.7 |
**Related issue:** - Closes #7561 - vercel/next.js#56612
### What? * vercel/turborepo#6286 * vercel/turborepo#6367 * vercel/turborepo#6354 * vercel/turborepo#6343 --- - Update `swc_core` to `v0.86.40` - Revert #56281 and fix `node-fetch` by disabling inlining - Use `inline: 2` instead of `keep_fnames: true` ### Why? `keep_fnames` increases the bundle size too much. ### How? - Fixes #56612 - Fixes #57886 - Fixes #55682 (by swc-project/swc#8205) - Reverts #56281 - Closes PACK-1902
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/sandbox/competent-swartz-l9zwsj
To Reproduce
Current vs. Expected behavior
The generated files work well when running the application locally with yarn dev. But when running the build, the requests do not get resolved. The only difference compared to the previous versions is that it uses private identifiers.
Downgrading to [email protected] resolves the issue and has no problem. The issue is with using the latest next versions (13.5.4).
Request example:
CancelablePromise generated from the codegen:
tsconfig.json:
next.config.js
Verify canary release
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2 Binaries: Node: 18.16.0 npm: 9.5.1 Yarn: 1.22.19 pnpm: N/A Relevant Packages: next: 13.5.5-canary.4 eslint-config-next: 13.5.4 react: 18.2.0 react-dom: 18.2.0 typescript: 5.2.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Additional context
No response
WEB-1743
The text was updated successfully, but these errors were encountered: