Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Is variant type 'number' supported? #7056

Closed
FredrikOseberg opened this issue May 15, 2024 Discussed in #6954 · 0 comments · Fixed by #7064
Closed

Chore: Is variant type 'number' supported? #7056

FredrikOseberg opened this issue May 15, 2024 Discussed in #6954 · 0 comments · Fixed by #7064
Assignees

Comments

@FredrikOseberg
Copy link
Contributor

The variant type represents payload parsing hints for your application, but the value transmitted over the wire will always be a string. We will only perform validation, not actually parse the value for you. We need to update the documentation to be more clear in how Unleash deals with these scenarios.

Discussed in https://github.com/orgs/Unleash/discussions/6954

Originally posted by pc-pallon April 26, 2024
In the code such as here and in the UI such as in the screenshot below, the variant type 'number' seems to be supported.
Screenshot 2024-04-26 at 14 25 01

However, in other code locations such as here and in the document here, there is no type 'number'.

Is it actually supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant