You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the SDK doesn't support setting a variant override for appName / environment despite this being supported by Unleash. Only userId, sessionId, and remoteAddress are supported.
Thanks for patching this @mrizk, it's definitely a missing feature in the SDK but from a perspective of the wider Unleash ecosystem, not having that is a bug so I've done a patch release for this
Describe the feature request
At the moment, the SDK doesn't support setting a variant override for
appName
/environment
despite this being supported by Unleash. OnlyuserId
,sessionId
, andremoteAddress
are supported.unleash-client-go/api/variant.go
Line 55 in 10a3338
This is a trivial feature to support, I could open a PR but wasn't sure what the contribution guidelines are on this project.
Background
No response
Solution suggestions
Add cases for
appName
&environment
toOverride.getIdentifier()
and return their values from the context.The text was updated successfully, but these errors were encountered: