Flagsmith / Flagsmith/flagsmith

fix(__future__): Decommission the experimental update-flag

Open
#8,302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

We shipped an experimental `update-flag` endpoint (issue) and later decided to stabilise options A and B paths onto a new `/api/__future__/environment/{key}/features/{id}/` (C) option (issue).

The code for the previous implementation still remains.

## Acceptance criteria

- Code currently depending on any components of the old update-flag is adjusted to either break the dependency, or reroute it to option C.
- All the code that power the old update-flag, i.e. both options A and B, is deleted.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the old update-flag endpoint and the components serving options A and B, then identify code that still depends on them. Reroute dependencies to `/api/__future__/environment/{key}/features/{id}/` where appropriate, delete the old implementation, and verify that no update-flag code remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.