Flagsmith / Flagsmith/flagsmith-cli
Spike: Support for required metadata
- Vorherrschende Sprache
- Go
- Sterne
- 12
- Forks
- 3
- Ø Merge
- 14 Std. 56 Min.
- Gemergte PRs (30 T.)
- 8
Beschreibung
In a project with required metadata fields, `flagsmith feature create` always fails:
```
$ flagsmith feature create cli_max_items --value 25 --yes
Error: POST https://api-staging.flagsmith.com/api/v1/projects/6111/features/ returned 400 Bad Request: Missing required metadata field: Required int field
Think this shouldn't happen? Tell us: https://github.com/Flagsmith/flagsmith-cli/issues/new
```
`feature create` has currently no way to send metadata.
We should spot all the commands this affects, and update design documentation with metadata support
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start with the `feature create` command and reproduce the required-metadata failure shown in the issue. Inspect the other commands that create or update resources to identify which are affected, then review the existing design documentation. Done means the affected command scope is documented and the metadata-support design is updated.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100