Is variant type 'number' supported? #6954
-
In the code such as here and in the UI such as in the screenshot below, the variant type 'number' seems to be supported. However, in other code locations such as here and in the document here, there is no type 'number'. Is it actually supported? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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! |
Beta Was this translation helpful? Give feedback.
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!