microsoft / microsoft/FeatureManagement-JavaScript

Add options specifying behavior when filter is missing.

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

@zhiyuanliang-ms đang làm issue này rồi.

Từ ngày 6/3/2025.

Ngôn ngữ chính
TypeScript
Star
19
Fork
6
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Mô tả

Just want to call out here, In .NET, we have an option to decide the behavior when filter can not be found:
https://github.com/microsoft/FeatureManagement-Dotnet/blob/main/src/Microsoft.FeatureManagement/FeatureManagementOptions.cs
The default behavior is throwing exception instead of slient error.

And there was a discussion about this design: https://github.com/microsoft/FeatureManagement-Dotnet/issues/248

But it's not necessary to make JS FM lib completely same as .NET FM lib. Just put it here, for your reference.

Originally posted by @zhiyuanliang-ms in https://github.com/microsoft/FeatureManagement-JavaScript/pull/1#discussion_r1514055834

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Đánh giá

Issue này chưa được đánh giá.

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.