flags, httpResp, err := apiClient.FeatureFlagsApi.GetFeatureFlags(ctx, projectKey).
Limit(limit).
Offset(offset).
Summary(false).
Execute()
with above request, environments return null
But with specific environment like dev, returns the value
flags, httpResp, err := apiClient.FeatureFlagsApi.GetFeatureFlags(ctx, projectKey).
Limit(limit).
Offset(offset).
Summary(false).
Env("dev").
Execute()
expecting without environments should return all the environments on the Golang api client
Note:
curl -G -H "Authorization: <api-token>" \
"https://app.launchdarkly.com/api/v2/flags/default?expand=environments&env=dev&env=production&summary=false"
With above curl having both env as query param returns everything
with above request, environments return null
But with specific environment like dev, returns the value
expecting without environments should return all the environments on the Golang api client
Note:
With above curl having both env as query param returns everything