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

feat: [go-feature-flag] Support flag metadata #367

Merged
merged 8 commits into from
Aug 2, 2023

Conversation

thomaspoignant
Copy link
Member

This PR

  • Support flag metadata in the java provider for GO Feature Flag

@thomaspoignant thomaspoignant requested a review from a team as a code owner July 25, 2023 08:12
@thomaspoignant thomaspoignant requested a review from toddbaert July 28, 2023 09:01
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Nice to have!

Signed-off-by: Thomas Poignant <[email protected]>
*/
private ImmutableMetadata convertFlagMetadata(Map<String, Object> flagMetadata) {
ImmutableMetadata.ImmutableMetadataBuilder builder = ImmutableMetadata.builder();
flagMetadata.forEach((k, v) -> {
Copy link
Contributor

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.

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

Copy link
Member

Choose a reason for hiding this comment

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

DBlanchard88 pushed a commit to DBlanchard88/java-sdk-contrib that referenced this pull request Apr 29, 2024
…ure#367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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