Aiven-Open / Aiven-Open/karapace
TypedSchema and Dependency should be generic
未關閉
- 主要語言
- Python
- 星號
- 634
- 分支
- 110
- 平均合併
- 4 天 7 小時
- 30 天內合併 PR
- 4
描述
There's lots of places where it's challenging to add static typing where we have to deal with `Dependency` and `TypedSchema`, and we need to add assertions on their contained schemas. This is due to the fact that we maintain no connection between their `.schema_type` and types of `.schema`.
Having the ability to specify `Dependency[ProtobufSchema]` when working with protobuf-specific code would help greatly in this respect.
貢獻指南
評估
這個 Issue 還沒有評估資料。