Allow custom (non-standard) reasons in ResolutionDetails
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 40/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Start by locating openfeature::Reason and ResolutionDetails in the C++ SDK, then trace how providers set and expose the reason. Compare the two approaches described in the issue, including their compatibility impact; done means providers can report arbitrary reason strings while standard reasons remain supported. Add or update tests for standard and custom reasons.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The spec allows a resolution reason to be any string (standard reasons are just well-known values), but openfeature::Reason is a closed enum class, so providers can't report custom reasons.
This blocks flagd's resolve operator (open-feature/flagd#2090), which lets targeting rules set free-form reasons; open-feature/cpp-sdk-contrib#163 currently has to report the default reason instead.
Possible approaches: make the reason a string with constants for the standard values, or keep the enum and add a string-backed custom variant. The first is simpler; the second is less breaking.
- Ngôn ngữ chính
- C++
- Star
- 6
- Fork
- 2
- Merge trung bình
- 3 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của open-feature/cpp-sdk
-
Change path for gherkin testsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
open-feature/cpp-sdk#92 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 57/100
open-feature/cpp-sdk#156 ·
-
Spec v0.9.0 complianceĐang mởv0.9.0
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
open-feature/cpp-sdk#125 ·
-
Update Merge Context LogicCó thể làm lại được @NeaguGeorgiana23 đã nhận 144 ngày trước và không có pull request nào đang mở. Đang mở
open-feature/cpp-sdk#79 · 1 người được giao ·
-
Implement HooksCó thể làm lại được @NeaguGeorgiana23 đã nhận 144 ngày trước và không có pull request nào đang mở. Đang mở
open-feature/cpp-sdk#77 · 1 người được giao ·
Tất cả issue của open-feature/cpp-sdk
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
deepseek-ai/DeepGEMM#529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ucb-bar/libgemmini#10 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Quantinuum/tket#2282 ·
Maintainer thường phản hồi trong vòng 1 ngày