Skip to content

Commit ed9ca15

Browse files
author
Stephen Tallent
committed
Update AnyNotification to not wipe out params that come with a notification
1 parent 25dee3b commit ed9ca15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/MCP/Base/Messages.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public protocol Notification: Hashable, Codable, Sendable {
278278
/// A type-erased notification for message handling
279279
struct AnyNotification: Notification, Sendable {
280280
static var name: String { "" }
281-
typealias Parameters = Empty
281+
typealias Parameters = Value
282282
}
283283

284284
extension AnyNotification {

0 commit comments

Comments
 (0)