ConfigCat SDK for .NET. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
Improves refresh logic of AutoPollConfigService and LazyLoadConfigService to take the cache download time into account to fetch the config only if cached config is unavailable or stale.
Also does some cleanup around *ConfigService classes.
Breaking changes:
Changes ProjectConfig to reference type with value equality (record)
Slightly changes the behavior of ProjectConfig.TimeStamp (only updated when ~download succeeds~ communication with the CDN servers succeeds, regardless of the returned status code)
Requirement checklist (only if applicable)
[x] I have covered the applied changes with automated tests.
[x] I have executed the full automated test set against my changes.
[x] I have validated my changes against all supported platform versions.
Describe the purpose of your pull request
AutoPollConfigService
andLazyLoadConfigService
to take the cache download time into account to fetch the config only if cached config is unavailable or stale.*ConfigService
classes.Breaking changes:
ProjectConfig
to reference type with value equality (record)ProjectConfig.TimeStamp
(only updated when ~download succeeds~ communication with the CDN servers succeeds, regardless of the returned status code)Requirement checklist (only if applicable)