microsoft / microsoft/FeatureManagement-JavaScript

Add options specifying behavior when filter is missing.

Offen
#3 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@zhiyuanliang-ms arbeitet bereits daran.

Seit 06.3.2025.

Vorherrschende Sprache
TypeScript
Sterne
19
Forks
6
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.