microsoft / FeatureManagement-Dotnet

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.
MIT License
1.02k stars 111 forks source link

Validate settings if BindParameters is not called #430

Closed zhiyuanliang-ms closed 4 months ago

zhiyuanliang-ms commented 4 months ago

Why this PR?

Fix the bug introduced by this PR: #387

In #387, the validation of settings was moved to BindParameters to avoid redundant validation. However, if BindParameters is not called, the validation will be skipped.