-
Notifications
You must be signed in to change notification settings - Fork 135
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
add additional metadata to RoutingResult #673
Conversation
🦋 Changeset detectedLatest commit: 0be8461 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
@@ -31,3 +31,4 @@ export const AppPathsManifestKeys = | |||
/* @__PURE__ */ loadAppPathsManifestKeys(NEXT_DIR); | |||
export const MiddlewareManifest = | |||
/* @__PURE__ */ loadMiddlewareManifest(NEXT_DIR); | |||
export const AppPathsManifest = loadAppPathsManifest(NEXT_DIR); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need /* @__PURE__ */
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not for all of them, but this is necessary for some part. Without it esbuild fail to remove some of the unused one and it can cause error at runtime
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only a few minor comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding tests!
I added only minor nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the update!
@@ -0,0 +1,8 @@ | |||
--- | |||
"@opennextjs/aws": patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be minor (new feature) instead of patch (bug fix) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok this way, technically there is no new feature here, and it should have no impact at all for end user (even people with custom overrides)
Other PR that will depend on this one will be minor like #665
This PR will help #665.
This may also allow us in the future to use https://github.com/vercel/next.js/blob/4d1613d049037b2b39295a9479c9f8c9a12df907/packages/next/src/server/base-server.ts#L1581 instead of
getRequestHandler