Spike: Support for required metadata
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Go
- Stars
- 12
- Forks
- 3
- Avg merge
- 2h 35m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Flagsmith/flagsmith-cli#64 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Flagsmith/flagsmith-cli#107 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Flagsmith/flagsmith-cli#95 ·
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
Flagsmith/flagsmith-cli#90 ·
-
Spike: TOON Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
Flagsmith/flagsmith-cli#87 ·
All issues in Flagsmith/flagsmith-cli
Similar issues
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
needs design
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100