danielgtaylor / danielgtaylor/python-betterproto
Support for AIP 203 annotations?
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 234
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi there! Thanks for creating and maintaining this package -- I'm currently looking into integrating protobuf messages into one of the Python projects I work on, and this looks like a really nice interface.
As part of designing the messages I'm planning on using, I'd like to be able to use [AIP 203-style](https://google.aip.dev/203) annotations to signal that particular fields are required on the wire. I can see these annotations show up in other codegen backends (like Go and Java), but they don't seem to have any effect on betterproto's generation.
Full context: https://github.com/sigstore/protobuf-specs/pull/41
Is this something that's currently possible with `betterproto`? If not, is there interest in adding support for it? If so, it's something I could take a stab at 🙂
Thanks in advance!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo la specifica AIP 203 e la pull request collegata di protobuf-specs, quindi segui il percorso di generazione protobuf di betterproto per le annotazioni dei campi. Nell'issue non sono indicati file o test; il lavoro dovrebbe essere considerato completato quando le annotazioni AIP 203 vengono riconosciute durante la generazione e il loro comportamento previsto per i campi obbligatori è coperto dalla verifica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100