Microsoft.FeatureManagement provides standardized APIs for enabling feature flags within applications. Utilize this library to secure a consistent experience when developing applications that use patterns such as beta access, rollout, dark deployments, and more.
We have null check for FeatureFilterEvaluationContext in EvaluateAsync method of ContextualTargeting and Targeting filters.
We missed that in TimeWindowFilter and PercentageFilter. This could cause potential NPE, since we access context.Settings without check whether context is null.
Why this PR?
Bug fix.
We have null check for
FeatureFilterEvaluationContext
inEvaluateAsync
method of ContextualTargeting and Targeting filters.We missed that in TimeWindowFilter and PercentageFilter. This could cause potential NPE, since we access context.Settings without check whether context is null.