configcat / js-ssr-sdk

ConfigCat SDK for JavaScript Server Side Rendered applications like NuxtJS. 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/js-ssr
MIT License
12 stars 6 forks source link

Add option for detecting changes to flag overrides #79

Closed adams85 closed 9 months ago

adams85 commented 9 months ago

Describe the purpose of your pull request

Adds an optional parameter named watchChanges to createFlagOverridesFromMap which controls whether the client should detect changes to the flag override map after client initialization.

Related issues (only if applicable)

https://trello.com/c/9jqzNyAI/381-konzisztencian%C3%B6vel%C5%91-improvementek

Requirement checklist (only if applicable)

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (8e2e8e9) 85.93% compared to head (477348b) 86.88%.

Files Patch % Lines
src/index.ts 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #79 +/- ## ========================================== + Coverage 85.93% 86.88% +0.94% ========================================== Files 3 3 Lines 64 61 -3 Branches 12 12 ========================================== - Hits 55 53 -2 + Misses 6 5 -1 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.