Skip to content

Commit 8414e29

Browse files
committed
Add CancelRequestNotification to BSP notification types
Otherwise a client that uses the `BuildServerProtocol` modules to implement a BSP server can’t deserialize the `$/cancelRequest` notification.
1 parent 4cb8a56 commit 8414e29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/BuildServerProtocol/Messages.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ fileprivate let requestTypes: [_RequestType.Type] = [
2929
]
3030

3131
fileprivate let notificationTypes: [NotificationType.Type] = [
32+
CancelRequestNotification.self,
3233
FileOptionsChangedNotification.self,
3334
OnBuildExitNotification.self,
3435
OnBuildInitializedNotification.self,

0 commit comments

Comments
 (0)