Unleash/unleash-proxy-client-js

feat: Allow clients to only query feature toggles for given project Names.

ivarconr opened this issue · 5 comments

feat: Allow clients to only query feature toggles for given project Names.

You can now scope the unleash-proxy to only serve specific projects. Might be good to not have the complexity on the SDK side?

This would mean that it's necessary to create proxy instances for every project which is costly on the infrastructure side. Simply passing the project as a query param from the SDK should be relative minor complexity to add.

Good point. My concern was also that you might not want to expose all projects to the frontend.

The proxy can now be configured to only expose toggles with a given tag (e.g. "proxy"). Thus you can have a single proxy across multiple projects and choose which toggles to expose by applying the proxy tag.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.