-
-
Notifications
You must be signed in to change notification settings - Fork 395
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What is the problem this feature would solve?
An escape hatch that allows an unmodified value to be returned from a handler would enable the use of platform-specific types, such as Bun’s HTMLBundle
.
What is the feature you are proposing to solve the problem?
Add an escape hatch to HttpServerResponse
—perhaps HttpServerResponse.literal(value)
—that returns the given value unmodified from the handler.
What alternatives have you considered?
The only current solution is to not use this API in Effect, or to fork Effect.
brw
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request