Maybe add Status.withCode
Aperta
- Lingua principale
- Java
- Stelle
- 12.1k
- Fork
- 4k
- Merge medio
- 2g 17h
- PR unite (30g)
- 37
Descrizione
Unlike other fields in Status, there is no `with` method to preserve the code. This is surprising and makes it harder to change a status code.
Would have been useful here: https://github.com/grpc/grpc-java/pull/3521/files
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by locating the Java gRPC Status API and review the referenced pull request for how other Status fields expose with methods. Confirm the expected behavior for preserving the code when changing a status, then add the corresponding API coverage and verify the existing tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- grpc, java
- Ambito
- api, backend-api-design
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100