Azure / Azure/azure-functions-durable-python
Improve static safety of repo by using generic types and custom constructors
オープン
Enhancement
fixed-in-v2
P2
- 主要言語
- Python
- スター
- 157
- フォーク
- 70
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 2
説明
As per our discussion here: https://github.com/Azure/azure-functions-durable-python/pull/184#pullrequestreview-544266683
Data such as the Entity batch array would be safer to use if registered as their own datatype. This way, we can prevent invalid operations across the codebase.
We should do a scan of the codebase and improve all the cases where custom types could be used to prevent invalid operation.
コントリビューションガイド
調査の方向性
pull request 184 の議論、特にリンクされた review から始めて、Entity batch array example を調べてください。次に、カスタム型やコンストラクターによって無効な操作を防げる可能性がある、コードベース内の他の箇所を探してください。関連するデータ構造がコードベース全体で一貫してより安全な型を使用していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100