Value-set references show the repo versions their expansion recorded

オープン
#3,002 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
領域
backend

調査の方向性

Read core/collections/models.py:1425-1440 and trace how value-set references are currently resolved at read time, then find where source references obtain resolved_repo_versions from an expansion. Add unit tests for a value-set reference using its collection version's default expansion, the fallback when no expansion exists, and a lock on an older value set version. Done when those cases pass.

索引モデルが issue の本文から書いたものです。

説明

component/api decision/ai-ready signal/quick-win signal/small-scope signal/well-specified stage/triaged type/bug

Repo: oclapi2 · Depends on: nothing

Part of OpenConceptLab/ocl_issues#2942. OpenConceptLab/ocl_online#577 made a reference's resolved_repo_versions come from its expansion for sources, leaving value-set references out. They still resolve at read time (core/collections/models.py:1425-1440).

ACs

  • A value-set reference's resolved_repo_versions comes from its collection version's default expansion, falling back to current resolution when there is none.
  • Unit tests, including a lock on an older value set version.
主要言語
言語のデータがありません
スター
4
フォーク
2
平均マージ
2時間 12分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenConceptLab/ocl_issues のほかの issue

OpenConceptLab/ocl_issues の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。