Skip to content

fix(openfeature): handle null details in DevCycleProvider.track() - #206

Merged
luxscious merged 2 commits into
mainfrom
fix/openfeature-track-null-details
Nov 11, 2026
Merged

luxscious merged 2 commits into
mainfrom
fix/openfeature-track-null-details

Conversation

@luxscious

@luxscious luxscious commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

problem: client.track("event") throws a NullPointerException. OpenFeature sends null details when the caller gives none, and track() did not check for null.

fix: track() uses empty ImmutableTrackingEventDetails when details are null.

@luxscious
luxscious requested a review from a team as a code owner November 11, 2026 19:08
@luxscious
luxscious requested a review from JamieSinn November 11, 2026 19:10
@luxscious
luxscious enabled auto-merge (squash) November 11, 2026 19:16
@luxscious
luxscious merged commit ecb06cc into main Nov 11, 2026
8 checks passed
@luxscious
luxscious deleted the fix/openfeature-track-null-details branch November 11, 2026 19:16
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.

2 participants