Skip to content

Is variant type 'number' supported? #6954

Answered by FredrikOseberg
pc-pallon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @pc-pallon. Apologies for the late response. The short answer is that the type property is merely a hint to your own application on how you should parse the content. Unleash does not perform the parsing for you. I have added a note in the documentation about this here: https://docs.getunleash.io/reference/feature-toggle-variants#variant-payload

Thanks for calling out the confusion!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pc-pallon
Comment options

Answer selected by pc-pallon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants