IQSS / IQSS/dataverse-client-javascript
Refactor ApiRepository for enhanced generality and abstraction
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 20
- フォーク
- 11
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 1
説明
Overview of the Feature Request
The ApiRepository currently incorporates logic that is specific to particular resource types. This approach limits the generic utility of the repository and necessitates direct checks on these types within the repository itself. The proposal is to enhance the generality of ApiRepository by abstracting away resource-specific logic.
What Inspired the Request?
The need for a more generic ApiRepository was identified during a code review. The current implementation requires direct checks on resource types, which can complicate the codebase and reduce the modularity and reusability of the repository.
What Existing Behavior Do You Want Changed?
None, this is just a refactor.
Any Brand New Behavior Do You Want to Add to js-dataverse?
None, this is just a refactor.
Any Open or Closed Issues Related to This Feature Request?
No
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず ApiRepository を見つけ、リソース固有のチェックを特定した、リンク先の pull request の議論を確認します。特定のリソースタイプに結び付いているロジックを特定し、既存の動作を維持する抽象化を定義します。リファクタリングの範囲について合意し、現在の動作に変更がないことを検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- api
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100