-
Notifications
You must be signed in to change notification settings - Fork 66
Discussion: inlining next-aws-lambda vs fixing upstream and other alternatives #95
Comments
Thanks for opening this @lindsaylevine! I think opening PRs upstream to solve those problems in |
Hmmm! Good points! I see the strong benefits of opening PRs upstream! How about the following proposal: We continue with inlined next-aws-lambda for now, which is already 95% done and allows us to fix the two remaining compatibility-layer-related issues #82 and #20 asap. As we go on, @lindsaylevine and I will periodically check for updates made to next-aws-lambda (source code and changelog). If, say in a couple months time, we realize that this inlining approach is creating a headache because we have to manually copy over a bunch of patches all the time, let's reevaluate then and perhaps invite Daniel Conde (the creator and maintainer of the package) for a Zoom chat to discuss how we can best integrate any Netlify-specific needs. How does that sound? PS: If we need to justify the inlining for now, we could use the following three arguments:
|
PPS: I am personally very interested to learn more about the patch-package approach (even though I think for the sake of next-on-netlify, we should continue with inlining I've used and suggested patch-package to users before (see #20), but the workflow was never really smooth for the end user as they had to manually copy patches ( |
This is a very pragmatic approach @FinnWoelm, love it! ❤️ |
Ok 😊 PS: Your work and improvements to next-on-netlify and the Next.js plugin are AMAZING 🎉 🙌 🙌 |
hey all, closing this since the discussion is over :). per the resolution we reached, if/when we run into issues manually updating what's inlined, we can re-address then! |
stakeholders: @FinnWoelm @ehmicky
This issue is to publicly discuss an internal discussion around inlining next-aws-lambda.
Original issues with depending on next-aws-lambda:
npm install next-on-netlify
opennextjs/opennextjs-netlify#10) (this is being addressed internally)To move forward and relieve some tension with these open issues, we've temporarily inlined next-aws-lambda with Finn's awesome PR. However, @ehmicky brought up concerns around future maintenance issues with inlining.
Options:
While we all agree inlining is a great first step and improvement from what we had for the original issues, let's try to align on the best path forward.
The text was updated successfully, but these errors were encountered: