Repository navigation
feat: Every SDK includes reason in responses for identity and environment flags - #133
flagsmithsmith[bot] wants to merge 3 commits into
Conversation
Merging this PR will not alter performance1 warning
Comparing |
Flagsmith returns each flag's `reason` from /flags/ and /identities/, so read it into `Flag#reason` as local evaluation already does, and expose it from the spec steps (sdk-spec v0.10.0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pushed 5d7f1c5 to make the v0.10.0 spec pass: flags now carry their What changed
Why
|
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds an optional reason attribute to SDK flag responses, with fixture updates and tests covering static, targeting, and missing reasons, plus a spec workflow version bump. The change is additive and backward compatible.
Turn on auto-fix | Re-trigger cubic
Contributes to Flagsmith/sdk-spec#27