Skip to content

Conversation

Mat001
Copy link
Contributor

@Mat001 Mat001 commented Mar 10, 2023

Update all non-code-path SDK resources for Feature Experimenation

Jira ticket: https://jira.sso.episerver.net/browse/FSSDK-8957

@Mat001 Mat001 requested a review from yasirfolio3 March 10, 2023 22:10
Copy link

@russell-loube-optimizely russell-loube-optimizely left a comment

Choose a reason for hiding this comment

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

LGTM

@Mat001 Mat001 requested a review from yasirfolio3 March 10, 2023 23:21
README.md Outdated
Datafile: []byte("datafile_string"),
}
client, err = optimizelyFactory.Client()
Copy link
Contributor

Choose a reason for hiding this comment

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

This code has issues too, can you replace it with the following:

// Simple one-line initialization with the SDK key
	optlyClient, err := optly.Client("SDK_KEY")
	// You can also instantiate with a hard-coded datafile using our client factory method
	optimizelyFactory := &client.OptimizelyFactory{
		Datafile: []byte("datafile_string"),
	}
	optlyClient, err = optimizelyFactory.Client()

Copy link
Contributor

@yasirfolio3 yasirfolio3 left a comment

Choose a reason for hiding this comment

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

LGTM w.r.t code samples.

Copy link
Contributor

@andrewleap-optimizely andrewleap-optimizely left a comment

Choose a reason for hiding this comment

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

lgtm

@Mat001 Mat001 merged commit 4d68d51 into master Mar 10, 2023
@Mat001 Mat001 deleted the mpirnovar-switch-fs-to-fx branch March 10, 2023 23:48
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.

5 participants