Reflection service does not consult ExtensionRegistry
- Lingua principale
- Java
- Stelle
- 12.1k
- Fork
- 4k
- Merge medio
- 2g 17h
- PR unite (30g)
- 37
Descrizione
It just notices extensions that are pulled in from the services themselves. That'll miss most extensions.
We'll probably need to add a getter to `ProtoLiteUtils`.
This may be a good time to add an extra getter/setter to ProtoUtils (that can call `ProtoLiteUtils` for now). It'd be an ExtensionRegistry instead of ExtensionRegistryLite. But at the same time `ExtensionInfo` doesn't provide much more info than a instanceof would provide, and it means going through the immutable/mutable weirdness in the API.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il servizio di reflection e leggendo come rileva le estensioni dai servizi, quindi esamina ProtoLiteUtils e ProtoUtils per l'accesso proposto al registro. L'issue richiede che la forma dell'API sia definita prima dell'implementazione; completato dovrebbe significare che reflection consulta l'ExtensionRegistry appropriato invece di usare solo le estensioni fornite dai servizi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100