Skip to content
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

[FSSDK-8957] Update non-code path resources for FX #366

Merged
merged 7 commits into from
Mar 10, 2023

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

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@Mat001 Mat001 requested a review from yasirfolio3 March 10, 2023 22:10
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
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

README.md Outdated Show resolved Hide resolved
@Mat001 Mat001 requested a review from yasirfolio3 March 10, 2023 23:21
README.md Outdated
@@ -69,26 +86,52 @@ optimizelyFactory := &client.OptimizelyFactory{
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