Return MergedList<T> from list_all_* and drop the _with_cache_hint variants
Mantenedores costumam responder em até 3 dias
@DaleSeo já está trabalhando nisso.
Desde 3/11/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
#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.
- Linguagem predominante
- Rust
- Estrelas
- 4.1k
- Forks
- 694
- Merge médio
- 4d 16h
- PRs com merge (30d)
- 43
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de modelcontextprotocol/rust-sdk
-
Server logs a fabricated 'initialize' (with synthesized rmcp/3.8.0 peer identity) for no-initialize SEP-2567 requests, ignoring clientInfo from _metaTalvez já em andamento @jamadeo assumiu há 2 dias. Abertabug P2 ready for work T-service T-transport
modelcontextprotocol/rust-sdk#1425 · 2 comentários · 1 responsável ·
Mantenedores costumam responder em até 3 dias
-
OAuth discovery drops explicit default ports from advertised issuer identifiersTalvez já em andamento @gocamille assumiu há 4 dias. Abertabug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1420 · 2 comentários · 1 responsável ·
Mantenedores costumam responder em até 3 dias
-
`register_client` drops `client_secret_expires_at` from the registration responseTalvez já em andamento @gocamille assumiu há 5 dias. Abertabug P2 ready for work T-security
modelcontextprotocol/rust-sdk#1416 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 3 dias
-
Typed client calls drop the parse error when a reply misses a required fieldTalvez já em andamento @gocamille assumiu há 5 dias. Abertaenhancement P2 ready for work T-core T-service
modelcontextprotocol/rust-sdk#1415 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 3 dias
-
Return merged cache hints from list_all_* client methodsTalvez já em andamento @gocamille assumiu há 6 dias. Abertaenhancement P2 ready for work T-service
modelcontextprotocol/rust-sdk#1411 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 3 dias
Todas as issues de modelcontextprotocol/rust-sdk
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Mantenedores costumam responder em até 1 dia
-
`nsh-core` fails to compile when taffy's default `calc` feature is enabled elsewhere in the graphAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
longbridge/nsh#966 ·
Mantenedores costumam responder em até 1 dia
-
Windows docs: pin a tested ConPTY version for Kitty graphics; 1.25.260930003 corrupts large uploadsAberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
raphamorim/rio#2021 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
hydro-project/infinity#187 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
near/near-sdk-rs#1676 ·
Mantenedores costumam responder em até 2 dias