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

Offline access for feature alignment with other language SDKs #37

Closed billxinli closed 2 years ago

billxinli commented 2 years ago

Is your feature request related to a problem? Please describe.

Can we get the JS (frontend, SSR, Node) SDKs to be feature aligned with other language SDKs?

Specifically offline and local configurations of flags for the purpose of local development or testing?

Describe the solution you'd like

A clear and concise description of what you want to happen.

For the javascript constructors to take an optional "local" configuration.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context about the feature request here.

For example with PHP SDK it allows for: https://configcat.com/docs/sdk-reference/php/#flag-overrides

laliconfigcat commented 2 years ago

Hello @billxinli ,

Thanks for reaching out. We are working on this feature in all of our SDKs. I don't have an exact ETA for this. We'll keep you updated.

Cheers, Lali

laliconfigcat commented 2 years ago

Hello,

The https://github.com/configcat/common-js/pull/45 PR will include this feature.

Cheers,

laliconfigcat commented 2 years ago

Hello @billxinli ,

We just released a new version of all of our JS-based SDKs with the new features. I hope you'll like it. The documentation is not ready yet, but I hope the interface is self-describing enough to get started with it.

Cheers, Lali