-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
feature / enhancementNew feature or requestNew feature or request
Description
Describe the problem
Astro's way of creating endpoints is almost identical to how it works in Svelte Kit (apart from the fact they use lowercase function names). But they also allow you to:
export an
allfunction to match any method that doesn’t have a corresponding exported function.
I'm honestly not sure how niche this feature is but I found it to be very handy for building completely custom routing and APIs within the same SvelteKit Astro project without having to export multiple request handlers or running a separate Node server.
Describe the proposed solution
Add an ALL (or all?) request handler that does the same thing.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
Metadata
Metadata
Assignees
Labels
feature / enhancementNew feature or requestNew feature or request