Accessing allObjects from DiskStorage
オープン
- 主要言語
- Swift
- スター
- 3.1k
- フォーク
- 355
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I've noticed an issue with the allObjects property in the DiskStorage implementation. The current default implementation returns an empty array, making it impossible to access any stored objects. Also, as of now there is no way to get allObjects from disk when they are not in memory?
The relevant code snippet from DiskStorage is as follows:
```
extension DiskStorage: StorageAware {
public var allKeys: [Key] { [] }
public var allObjects: [Value] { [] }
}
```
コントリビューションガイド
調査の方向性
Issueに示されているDiskStorage: StorageAware拡張から始め、オブジェクトがディスク上に永続化される仕組みを追跡します。値がメモリ上にない場合のallObjectsの意図された動作を判断し、その後、保存されているすべてのオブジェクトの取得を対象とするテストを追加または更新します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- swift
- 領域
- database
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100