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

colossal-alligator-31194

01/02/2023, 6:18 PM
Hey. I just started working with GrowthBook. I have a
feature
with an Experiment Rule. (A = 90%, B=10%) When I log useFeature response I get
weights
and
variations
like below. But what I want is to have the name of the variation like A and B. Is this possible ? Thanks in advance for your help!
f

fresh-football-47124

01/02/2023, 8:33 PM
We currently don’t return the name of the variations in the feature request, instead we use the IDs
you can map from the id to name if you need using the API
πŸ‘€ 1
c

colossal-alligator-31194

01/03/2023, 2:29 PM
Thank you, my problem was I should've chose other type ( string ) for my feature. Thanks again πŸ™‚ πŸ™
11 Views