refactor(core): _wrapHandler hook so subclasses don't redeclare setRequestHandler (#1976)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
This commit is contained in:
parent
7cccc2aca8
commit
55b1f06cd4
1 changed files with 134 additions and 90 deletions
7
.changeset/wraphandler-hook.md
Normal file
7
.changeset/wraphandler-hook.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
'@modelcontextprotocol/core': patch
|
||||
'@modelcontextprotocol/client': patch
|
||||
'@modelcontextprotocol/server': patch
|
||||
---
|
||||
|
||||
refactor: subclasses override `_wrapHandler` hook instead of redeclaring `setRequestHandler`.
|
||||
Loading…
Reference in a new issue