microsoft / microsoft/FeatureManagement-JavaScript
Add options specifying behavior when filter is missing.
@zhiyuanliang-ms ci sta già lavorando.
Dal 6/3/2025.
- Lingua principale
- TypeScript
- Stelle
- 19
- Fork
- 6
- Merge medio
- 2g 3h
- PR unite (30g)
- 4
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.