Skip to content

Conversation

@msohailhussain
Copy link
Contributor

@msohailhussain msohailhussain commented Jul 8, 2021

Summary

  • Fixed an issue related to duplicate experimentKey.
  • While trying to get variation from the variationkeyMap, it was unable to find because the latest experimentKey was overriding the previous one.

TestPlan

msohailhussain and others added 2 commits July 8, 2021 16:59
Minor change of  group experiment stored using key are now stored using id as map key.
@msohailhussain msohailhussain marked this pull request as ready for review July 9, 2021 16:54
@msohailhussain msohailhussain requested a review from a team as a code owner July 9, 2021 16:54
@msohailhussain msohailhussain changed the title TESTING - Unique experiment key feat: Duplicate experiment key issue with multi feature flag Jul 9, 2021
Variation GetVariationFromId(string experimentKey, string variationId);

/// <summary>
/// Get the Variation from the Key/ID
Copy link

Choose a reason for hiding this comment

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

"key" and "id" have different capitalization in the various comments.

Copy link

@Mat001 Mat001 left a comment

Choose a reason for hiding this comment

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

No unit tests needed? @msohailhussain

@msohailhussain
Copy link
Contributor Author

No unit tests needed? @msohailhussain

good point, yes we need to add unit tests but I think I can add a separate ticket. Need to think about some scenarios.

@msohailhussain msohailhussain removed their assignment Jul 12, 2021
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

fix errors

Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

LGTM

@dustin-sier dustin-sier requested review from dustin-sier and removed request for dustin-sier July 13, 2021 17:33
@jaeopt jaeopt merged commit 304ebc4 into master Jul 15, 2021
@jaeopt jaeopt deleted the sohail/uniqueexperimentkey branch July 15, 2021 16:56
msohailhussain added a commit that referenced this pull request Jul 16, 2021
* feat: Duplicate experiment key issue with multi feature flag (#267)

* chore: preparing 3.9.1 release (#268)

* dlls generation for v3.9.x branch

updating branch so proper dlls are generated for this release
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.

6 participants