mcp: make NotificationSubscriptions a mandatory field (#1050)

Fixes #1037
This commit is contained in:
Guglielmo Colombo 2026-07-07 11:39:18 +02:00 • committed by GitHub
commit d651e2d2e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2063,7 +2063,7 @@ type SubscriptionsListenParams struct {
Meta `json:"_meta,omitempty"`
// Notifications declares which notification types the client wants to
// receive on this stream.
Notifications NotificationSubscriptions `json:"notifications"`
Notifications *NotificationSubscriptions `json:"notifications"`
}
func (x *SubscriptionsListenParams) isParams() {}