-
Notifications
You must be signed in to change notification settings - Fork 83
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
@@ -207,6 +207,8 @@ export interface SDKOptions { | |||
sdkKey?: string; | |||
// 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.
@@ -207,6 +207,8 @@ export interface SDKOptions { | |||
sdkKey?: string; | |||
// 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
defaultDecideOptions
in SDKOption type added.Test plan
@DEFAULT_DECIDE_OPTIONS
should pass.