Skip to content

Commit

Permalink
Add primary associated type to HBRouterMethods (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidepelican authored Feb 12, 2024
1 parent df75ed0 commit 63cb413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hummingbird/Router/RouterMethods.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import HTTPTypes
import NIOCore

/// Conform to `HBRouterMethods` to add standard router verb (get, post ...) methods
public protocol HBRouterMethods {
public protocol HBRouterMethods<Context> {
associatedtype Context: HBBaseRequestContext

/// Add path for async closure
Expand Down

0 comments on commit 63cb413

Please sign in to comment.