Repository navigation
feat: Every SDK includes reason in responses for identity and environment flags - #87
flagsmithsmith[bot] wants to merge 2 commits into
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
Add `Flag::reason`: the engine's reason under local evaluation, and the `reason` Flagsmith returns from /flags/ and /identities/ otherwise. Wire it into the spec steps for sdk-spec v0.10.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Implemented flag reasons for sdk-spec v0.10.0 (ab459e3):
The previous run failed because the spec now checks a |
There was a problem hiding this comment.
No issues found across 5 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Adds an optional reason field to the public Flag model and bumps the sdk-spec workflow. Because this changes the SDK's public response shape, a human should sign off on API compatibility and exposure of evaluation reasons.
Turn on auto-fix | Re-trigger cubic
Contributes to Flagsmith/sdk-spec#27