Flagsmith / Flagsmith/flagsmith-cli
Spike: Support for required metadata
- 主要语言
- Go
- 星标
- 12
- 派生
- 3
- 平均合并
- 14 小时 56 分钟
- 30 天内合并 PR
- 8
描述
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
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100