Allow custom (non-standard) reasons in ResolutionDetails
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 40/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- cpp
- Bereich
- backend-api-design
Rechercherichtung
Start by locating openfeature::Reason and ResolutionDetails in the C++ SDK, then trace how providers set and expose the reason. Compare the two approaches described in the issue, including their compatibility impact; done means providers can report arbitrary reason strings while standard reasons remain supported. Add or update tests for standard and custom reasons.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The spec allows a resolution reason to be any string (standard reasons are just well-known values), but openfeature::Reason is a closed enum class, so providers can't report custom reasons.
This blocks flagd's resolve operator (open-feature/flagd#2090), which lets targeting rules set free-form reasons; open-feature/cpp-sdk-contrib#163 currently has to report the default reason instead.
Possible approaches: make the reason a string with constants for the standard values, or keep the enum and add a string-backed custom variant. The first is simpler; the second is less breaking.
- Vorherrschende Sprache
- C++
- Sterne
- 6
- Forks
- 2
- Ø Merge
- 3 T. 13 Std.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus open-feature/cpp-sdk
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
open-feature/cpp-sdk#92 ·
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 57/100
open-feature/cpp-sdk#156 ·
-
Spec v0.9.0 complianceOffenv0.9.0
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
open-feature/cpp-sdk#125 ·
-
Update Merge Context LogicEvtl. wieder frei @NeaguGeorgiana23 hat das vor 144 Tagen übernommen, und es ist kein Pull Request offen. Offen
open-feature/cpp-sdk#79 · 1 zugewiesene Person ·
-
Implement HooksEvtl. wieder frei @NeaguGeorgiana23 hat das vor 144 Tagen übernommen, und es ist kein Pull Request offen. Offen
open-feature/cpp-sdk#77 · 1 zugewiesene Person ·
Alle Issues in open-feature/cpp-sdk
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
deepseek-ai/DeepGEMM#529 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
521xueweihan/HelloGitHub#4591 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ucb-bar/libgemmini#10 ·