-
Notifications
You must be signed in to change notification settings - Fork 49
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: [go-feature-flag] Support flag metadata #367
feat: [go-feature-flag] Support flag metadata #367
Conversation
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
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.
Nice to have!
...lag/src/main/java/dev/openfeature/contrib/providers/gofeatureflag/GoFeatureFlagProvider.java
Outdated
Show resolved
Hide resolved
...lag/src/main/java/dev/openfeature/contrib/providers/gofeatureflag/GoFeatureFlagProvider.java
Outdated
Show resolved
Hide resolved
...src/test/java/dev/openfeature/contrib/providers/gofeatureflag/GoFeatureFlagProviderTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Thomas Poignant <[email protected]>
333498f
to
9dd1cd5
Compare
*/ | ||
private ImmutableMetadata convertFlagMetadata(Map<String, Object> flagMetadata) { | ||
ImmutableMetadata.ImmutableMetadataBuilder builder = ImmutableMetadata.builder(); | ||
flagMetadata.forEach((k, v) -> { |
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.
We're facing NullPointerException
on introducing the flag sdk into our server. The metadata
should be optional.
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.
I am seeing this as well
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.
FYI @thomaspoignant
…ure#367) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR