8000 feat: Add ODP Segments support in Audience Evaluation by mnoman09 · Pull Request #472 · optimizely/java-sdk · GitHub
[go: up one dir, main page]

Skip to content

feat: Add ODP Segments support in Audience Evaluation #472

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

Closed
wants to merge 6 commits into from

Conversation

mnoman09
Copy link
Contributor
@mnoman09 mnoman09 commented Jun 6, 2022

Summary

Added ODP Segments support in Audience evaluation

Test plan

  • Added New unit tests
  • Existing Tests should pass

Copy link
Contributor
@zashraf1985 zashraf1985 left a comment

Choose a reason for hiding this comment

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

Looks Good! Suggested a few minor changes here and there

@@ -51,6 +53,7 @@ public OptimizelyUserContext(@Nonnull Optimizely optimizely,
} else {
Copy link
Contributor

Choose a reason for hiding this comment

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

Consolidate both the constructor methods to remove redunduncy


if (!"custom_attribute".equals(type)) {
if (!"custom_attribute".equals(type) && !"third_party_dimension".equals(type)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add it to constant list or enum and add a generic check for valid types

@mnoman09
Copy link
Contributor Author

Closing this PR as all the changes were already done in PR 474

@mnoman09 mnoman09 closed this Jun 16, 2022
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
0