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

Basic example does not work with latest version of flipt #54

Open
PVUL opened this issue Jan 5, 2025 · 2 comments
Open

Basic example does not work with latest version of flipt #54

PVUL opened this issue Jan 5, 2025 · 2 comments

Comments

@PVUL
Copy link

PVUL commented Jan 5, 2025

In the basic tutorial, it says to enable to the feature flag toggle, but there is no option to do so in the latest version of flipt (for boolean). I'm seeing that the feature flag value in the API response for chat-enabled is always returning false, so no chat widget is displaying, unlike what is being expressed in the tutorial.

Not sure if flipt-io/flipt#3618 would solve this problem. Any thoughts?

Originally asked in discord: https://discord.com/channels/960634591000014878/1325324065803735171

@PVUL
Copy link
Author

PVUL commented Jan 5, 2025

I was able to get through the rest of the basic tutorial by updating the version of flipt in the docker-compose.yml from flipt/flipt:latest to flipt/flipt:v1.46.3 - which is the latest version (prior to current version 1.54.0) to support boolean toggles.

https://github.com/flipt-io/flipt/releases/tag/v1.46.3

@markphelps
Copy link
Contributor

Hey @PVUL ! Thank for raising this issue.

I think we just need to update the instructions to tell the user to set the default value to true in the Flipt UI instead of using the toggle for boolean flags (this has the same result as what the toggle used to do in previous versions).

CleanShot 2025-01-05 at 09 50 02

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

No branches or pull requests

2 participants