feat: Nitro v3 compatibility#87
Conversation
|
@productdevbook is attempting to deploy a commit to the maximogarciamartinez's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…t extension support
|
@onmax I just added this. |
…eClientAuth function
…handling, and improve plugin invocation logic
|
Hey @productdevbook, nice work on this PR. Just checked, and I like the direction :). could you split out everything not directly tied to Nitro v3 compatibility? I’d keep this PR focused on the Move to separate PR:
If you’d rather, I can extract these into a separate PR. |
|
It would be good if you could separate them because I'll be away from nuxt for 2-3 months. |
|
When closing, it is beneficial to state your thoughts here. The reason for closing should not remain with you. :) |
|
Sorry, I miss clicked. I didn't mean to close this pr. You are right :) |
Summary
createErrorwithnew HTTPError()across server filesgetRouteRulescall signature to use(method, path)instead of(event)event.req.methodinstead of deprecatedgetMethod(event)Fixes #86
Changed Files
src/runtime/server/middleware/route-access.tssrc/runtime/server/utils/session.tssrc/runtime/server/api/_better-auth/sessions.delete.tsTest plan