Return MergedList<T> from list_all_* and drop the _with_cache_hint variants
维护者通常 3 天内回复
@DaleSeo 已经在做这个了。
开始于 2026年11月3日。
评估
这个 Issue 还没有评估数据。
描述
#1429 (for #1411) adds Peer::list_all_*_with_cache_hint() methods next to the existing list_all_* methods. They return a MergedList<T> { items, ttl_ms, cache_scope } so callers can cache a merged list. The new methods sit beside the old ones only because changing the return type of list_all_* is a breaking change.
In the next major release, list_all_* could return MergedList<T> directly, and the five _with_cache_hint methods would be removed. That leaves one method per list kind instead of two. Callers that only need the items would write .items.
This is a breaking change, so it should ship with the other changes in the next major release rather than in a major release of its own.
- 主要语言
- Rust
- 星标
- 4.1k
- 派生
- 694
- 平均合并
- 4 天 16 小时
- 30 天内合并 PR
- 43
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/rust-sdk 的其他 Issue
-
Server logs a fabricated 'initialize' (with synthesized rmcp/3.8.0 peer identity) for no-initialize SEP-2567 requests, ignoring clientInfo from _meta可能已有人在做 @jamadeo 于 2 天前认领。 未关闭bug P2 ready for work T-service T-transport
modelcontextprotocol/rust-sdk#1425 · 2 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
OAuth discovery drops explicit default ports from advertised issuer identifiers可能已有人在做 @gocamille 于 4 天前认领。 未关闭bug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1420 · 3 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
`register_client` drops `client_secret_expires_at` from the registration response可能已有人在做 @gocamille 于 6 天前认领。 未关闭bug P2 ready for work T-security
modelcontextprotocol/rust-sdk#1416 · 1 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
Typed client calls drop the parse error when a reply misses a required field可能已有人在做 @gocamille 于 6 天前认领。 未关闭enhancement P2 ready for work T-core T-service
modelcontextprotocol/rust-sdk#1415 · 1 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
-
Return merged cache hints from list_all_* client methods可能已有人在做 @DaleSeo 于 1 天前认领。 未关闭enhancement P2 ready for work T-service
modelcontextprotocol/rust-sdk#1411 · 1 条评论 · 已指派 1 人 ·
维护者通常 3 天内回复
查看 modelcontextprotocol/rust-sdk 的全部 Issue
相似的 Issue
-
bug priority: low ui
难度 2/5 1-3 小时 新手友好度 68/100
storytold/gridcraft#3446 · 1 条评论 ·
维护者通常 1 天内回复
-
seabeectl verify exits 0 when verification fails可能已有人在做 @theyottaboy 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
NationalSecurityAgency/seabee#73 ·
维护者通常 4 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 86/100
neilsh/stunt-reel#220 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复