Skip to content

feat: Spec empty string flag values - #22

Merged
emyller merged 1 commit into
mainfrom
feat/empty-string-values
Nov 4, 2026
Merged

emyller merged 1 commit into
mainfrom
feat/empty-string-values

Conversation

@emyller

@emyller emyller commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

SDKs must serve a flag whose value is an empty string as "", not null. The Elixir SDK turned "" into null when parsing both API responses and environment documents, and no spec scenario caught it (Flagsmith/flagsmith-elixir-client#67 (comment)).

Changes

  • Environment flags keep empty string values, from the API and with local evaluation.
  • Identity flags keep empty string values.

Verified locally: the Elixir SDK fails all three scenarios before Flagsmith/flagsmith-elixir-client@88799af and passes them after it.

Contributes to Flagsmith/flagsmith-elixir-client#67

Review effort: 1/5

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@emyller
emyller requested review from a team as code owners November 4, 2026 20:36
@emyller
emyller requested review from khvn26 and kyle-ssg and removed request for a team November 4, 2026 20:36
@emyller
emyller merged commit b27b259 into main Nov 4, 2026
13 of 14 checks passed
@emyller
emyller deleted the feat/empty-string-values branch November 4, 2026 20: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.

2 participants