configcat / node-sdk

ConfigCat SDK for Node.js. 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/node
MIT License
19 stars 7 forks source link

Add option for detecting changes to flag overrides #71

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

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c7f5a2c) 90.27% compared to head (c8513f0) 90.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #71 +/- ## ========================================== + Coverage 90.27% 90.90% +0.63% ========================================== Files 3 3 Lines 72 66 -6 Branches 10 10 ========================================== - Hits 65 60 -5 + Misses 7 6 -1 ```

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