Skip to content

Commit 74431ab

Browse files
authored
Merge pull request #1 from sloatescoan/bypass-callbackresponder
Skip CallbackResponder to allow for any ResponseGenerator
2 parents 663ad32 + 061eed9 commit 74431ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RoutingMacros/RoutingMacros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public struct RoutingMacro: ExtensionMacro {
6666
_ = routes.on(
6767
"\(route.path)",
6868
method: .\(route.method.rawValue.lowercased()),
69-
responder: CallbackResponder(callback: \(route.handler))
69+
use: \(route.handler)
7070
)
7171
"""
7272
}

0 commit comments

Comments
 (0)