-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat(gofeatureflag): Provider refactor #313
Conversation
a0af470
to
e45465c
Compare
Signed-off-by: Thomas Poignant <[email protected]>
e45465c
to
a29981b
Compare
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.
LGTM. Just a tiny comment.
@@ -53,6 +69,10 @@ private void ValidateInputOptions(GoFeatureFlagProviderOptions options) | |||
/// <param name="options">Options used while creating the provider</param> | |||
private void InitializeProvider(GoFeatureFlagProviderOptions options) | |||
{ | |||
_exporterMetadata = options.ExporterMetadata ?? new ExporterMetadata(); | |||
_exporterMetadata.Add("provider", ".NET"); |
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.
Should it be?
_exporterMetadata.Add("provider", ".NET"); | |
_exporterMetadata.Add("provider", "GoFeatureFlag .NET"); |
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.
Since this is used by GOFF internally .NET is enough in that case.
Signed-off-by: Thomas Poignant <[email protected]> Signed-off-by: Michael Richardson <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]> Signed-off-by: Michael Richardson <[email protected]>
This PR
In this PR we have done a few refactoring for the GO Feature Flag provider.
Here is the list of changes: