configcat / .net-sdk

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.
https://configcat.com/docs/sdk-reference/csharp
Other
29 stars 8 forks source link

Implement non-blocking synchronous evaluation (snapshot API) #81

Closed adams85 closed 4 months ago

adams85 commented 10 months ago

Describe the purpose of your pull request

Adds an API which makes it possible to synchronously evaluate feature flags/settings without block waiting for potential underlying I/O operations: consumers can create a snapshot of the client by IConfigCatClient.Snapshot(), which captures the client's state (including the latest config fetched) at that point, then, using the returned object, they can execute non-blocking synchronous evaluation operations.

Also

Requirement checklist (only if applicable)

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 10 Code Smells

85.8% 85.8% Coverage
0.2% 0.2% Duplication

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

10 New issues
0 Security Hotspots
85.4% Coverage on New Code
0.2% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
23 New issues
0 Accepted issues

Measures
0 Security Hotspots
86.8% Coverage on New Code
0.2% Duplication on New Code

See analysis details on SonarCloud