https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
l

lively-belgium-36533

06/17/2022, 9:49 AM
@future-teacher-7046 Hi, i has one issue: when I set
forceVariation
, and then i use
useFeature
, i expect to get the force variation value, but i found it returns me the default value, not the forced variation value, then i check the source code. i found in line 353: here the
res.inExperiment
is false. is this a bug? or how can i get the forced variation value?
f

future-teacher-7046

06/17/2022, 11:49 AM
We fixed this bug recently. What version of the SDK are you using?
l

lively-belgium-36533

06/17/2022, 11:56 AM
0.17.0
thank you, I will update and try again
it woks ,thank you
12 Views