Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented May 6, 2025

Follow up to #80

Currently, if a client using a different protocol version (say, 2024-11-05) attempts to connect to a server supporting the latest, the server throws an error in the initialize method handler.

This behavior isn't particularly helpful, so this PR removes it.

There may be an argument for making this part of "strict" mode behavior, but we can revisit that in a follow-up.

@mattt mattt merged commit 800131f into main May 6, 2025
6 checks passed
@mattt mattt deleted the mattt/no-throw-on-protocol-mismatch branch May 6, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants