Identities response is treated as transient when transient=false
#5260
Labels
bug
Something isn't working
transient=false
#5260
How are you running Flagsmith
Describe the bug
Hey,
I'm experiencing an issue, and I'm not sure if I'm misunderstanding the feature, or if this is a bug.
I noticed that when passing
transient=false
toGET /api/v1/identities
, the response ignores all the user traits, and returns only the default environment flags, the response matches exactly what I get when I passtransient=true
.To get segment and identity overrides, I need to make sure the
transient
parameter is not passed at all, in this case, the response includes thetraits
as well.Is this an expected behavior?
With the addition to the
transient
argument to the SDKs (I'm using the android-kotlin one) and beingfalse
by default, this means that when trying to get the flags without passing in all the traits, it returns the default values, and not the expected ones.Steps To Reproduce
user_1
and add some traits.feature_1
for the user.GET /api/v1/identities?identifier=user_1&transient=false
Notice that
feature_1
is using the environment default value and not the override.Expected behavior
feature_1
should return the overriden value.Screenshots
No response
The text was updated successfully, but these errors were encountered: