Skip to content

Conversation

mikechu-optimizely
Copy link
Contributor

Summary

When duplicate experiment key found in the data file, SDK returns correct experiment map in OptimizelyConfig

  • Keep the latest experiment key, found in the datafile experiment list
  • Add warning log "Duplicate keys found in datafile: {key-name}"

Test plan

  • Updated existing test for duplicate key
  • All other tests cases are expected to pass

Issues

Also refactored private fields to readonly & standard names
Also refactored private fields to readonly & names
Copy link

@pulak-opti pulak-opti left a comment

Choose a reason for hiding this comment

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

Asked for a clarification.
Otherwise, LGTM!

@mikechu-optimizely mikechu-optimizely merged commit c6213a9 into master Dec 4, 2023
@mikechu-optimizely mikechu-optimizely deleted the mike/handle-dupliate-experiment-key branch December 4, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants