Skip to content

feat(analytics): Add getAllVariantsByFlag - #70

Merged
tylerjroach merged 2 commits into
masterfrom
fix/getallvariants-by-flag
Apr 29, 2026
Merged

tylerjroach merged 2 commits into
masterfrom
fix/getallvariants-by-flag

Conversation

@tylerjroach

@tylerjroach tylerjroach commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

getAllVariants was missing flagKey for each variant. To resolve this, we created a new getAllVariantsByFlag with a return type map of flagKey to SelectedVariant<Object>

Deprecating getAllVariants as we would expect usage to move to getAllVariantsByFlag

Will resolve #68

@tylerjroach
tylerjroach requested review from a team and jaredmixpanel April 28, 2026 14:02
@tylerjroach tylerjroach changed the title feat: Add getAllVariantsByFlag feat(analytics): Add getAllVariantsByFlag Apr 28, 2026

@efahk efahk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, this'll match the other libs implementations more closely

@msiebert msiebert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tylerjroach
tylerjroach merged commit 0ed3ccc into master Apr 29, 2026
12 of 14 checks passed
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

Successfully merging this pull request may close these issues.

Feature Flags: output of getAllVariants() method cannot be associated with a flag key

4 participants