Aiven-Open / Aiven-Open/karapace

TypedSchema and Dependency should be generic

未關閉
#641 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。