Unleash / unleash-client-go

Unleash client SDK for Go
https://docs.getunleash.io
Apache License 2.0
138 stars 55 forks source link

Adding option to query for environment #120

Closed ljupcho closed 1 year ago

ljupcho commented 1 year ago

This PR fix will add the environment variable to the http request when querying for feature for endpoint api/client/features. At the moment the endpoint would only query for the project name. With passing in the environment to the query string i am able to toggle IsEnabled true|false for a feature for development environment.