Value-set references show the repo versions their expansion recorded

Đang mở
#3,002 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4
Fork
2
Merge trung bình
2 giờ 12 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenConceptLab/ocl_issues

Tất cả issue của OpenConceptLab/ocl_issues

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.