feat: add support for "project" query
ivarconr opened this issue · 0 comments
ivarconr commented
The Unleash API client endpoint support query for specific project, to avoid having the SDK download all feature toggles like this:
http https://app.unleash-hosted.com/demo/api/client/features?project=solar
Authorization:56907a2fa53c1d16101d509a10b78e36190b0f918d9f122d
Which will only return feature flags for projectId=solar
.
This should be implemented by adding a new configuration to the unleash SDK to specify the "projectId" and if this option is specified it should be added to the feature-toggle query as a query param when fetching feature toggles from the Unleash API.