We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9fab1e commit 52a88f9Copy full SHA for 52a88f9
Sources/HummingbirdRouter/RouteController.swift
@@ -38,7 +38,7 @@ import Hummingbird
38
public protocol RouteController where Context == Body.Context {
39
associatedtype Context: RouterRequestContext
40
associatedtype Body: RouterMiddleware
41
- var body: Body { get }
+ @RouteBuilder<Context> var body: Body { get }
42
}
43
44
// MARK: - MiddlewareFixedTypeBuilder + RouteController
0 commit comments