-
Notifications
You must be signed in to change notification settings - Fork 86
feat: defaultDecideOptions in SDKOptions #647
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
Conversation
| // user profile that contains user information | ||
| userProfileService?: UserProfileService; | ||
| // dafailt options for decide API | ||
| defaultDecideOptions?: OptimizelyDecideOption[] | undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if specifying undefined as a type is needed in this case as it is an optional parameter. WDYT @mjc1283 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, @yavorona . @ozayr-zaviar please fix.
| // user profile that contains user information | ||
| userProfileService?: UserProfileService; | ||
| // dafailt options for decide API | ||
| defaultDecideOptions?: OptimizelyDecideOption[] | undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, @yavorona . @ozayr-zaviar please fix.
Summary
defaultDecideOptionsin SDKOption type added.Test plan
@DEFAULT_DECIDE_OPTIONSshould pass.