-
-
Notifications
You must be signed in to change notification settings - Fork 888
Open
Labels
enhancementNew feature or request.New feature or request.
Description
What is the feature you are proposing?
I am doing my own integration between Vite and Hono, using the existing plugin as a reference. While implementing the entry wrapper I thought it would be nice to have a core utility to delegate from one Hono app instance to another. The pattern to do so is at once simple but also not obvious. The logic of how to correctly forward from a route handler to a sub-app should be encapsulated. There may be best practices about how to do this, or could be in the future, that should be owned by the library.
Here is the code I wrote:
Here is what I wish I could have written:
${_.app}.delegateAll('*', ${_.entry})What do you think?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request.New feature or request.
