Skip to content

Conversation

@kinyoklion
Copy link
Member

User targets require special logic to put the variation/values into targets instead of just in contextTargets. This was not being done, so user specific targets were not evaluating correctly.

Github issue: launchdarkly/node-server-sdk#283

variations: [...this.data.variations],
};

if (this.data.targetsByVariation) {
Copy link
Member Author

Choose a reason for hiding this comment

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

The change in this file is the actual fix. Everything else is testing.

@kinyoklion kinyoklion marked this pull request as ready for review August 3, 2023 18:12
@kinyoklion kinyoklion merged commit 8a423b2 into main Aug 3, 2023
@kinyoklion kinyoklion deleted the rlamb/test-data-user-variation branch August 3, 2023 19:39
@github-actions github-actions bot mentioned this pull request Aug 3, 2023
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.

3 participants