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

Variation value with explicit names #147

Open
c-nuro opened this issue May 11, 2023 · 1 comment
Open

Variation value with explicit names #147

c-nuro opened this issue May 11, 2023 · 1 comment
Labels
v3 Consider including in v3

Comments

@c-nuro
Copy link

c-nuro commented May 11, 2023

Currently variation uses index to implicitly determine the state. This could cause some confusion if variation options are updated, e.g. removing a deprecated variation.

Would it be possible to use some name/key for each variation instead?

@ldhenry
Copy link
Collaborator

ldhenry commented May 12, 2023

Hey @c-nuro, I appreciate your feedback. Unfortunately, I can't think of a straightforward way to add this without introducing a breaking change. However, we will consider it for the next major version release.

Thanks,
Henry

@ldhenry ldhenry added the v3 Consider including in v3 label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3 Consider including in v3
Projects
None yet
Development

No branches or pull requests

2 participants