Include archived flags with stringVariation()

Đang mở
#212 0 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
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
api, backend

Hướng nghiên cứu

The issue concerns stringVariation() returning the default value for archived flags in this Java server SDK. The payload names no files or tests, so start by finding where the SDK's string evaluation path handles flags and whether archived flags are excluded there. Done means either an opt-in option for archived flags with a test, or a documented workaround. The issue has no replies after about a year, so confirm with maintainers before writing code.

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

Mô tả

We have a process where feature flags are updated prior to code that uses them being deployed.

We were hoping that we could archive flags that aren't being used anymore but, that those flags would still evaluate under "stringVariation" while the new code doesn't use those flags is being deployed.

However, when we attempt to check the value of an archived flag with "stringVariation" we get back the default value instead of the archived value.

Is it possible to add an option to include archived flags when checking stringVariation? Or do you have any ideas of a workaround?

Ngôn ngữ chính
Java
Star
6
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 harness/ff-java-server-sdk

Tất cả issue của harness/ff-java-server-sdk

Issue tương tự

Thêm issue về Java

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.