Review request: Flag API change-request implementation submitted in PR #8998
Hi Flagsmith maintainers,
I am submitting this issue to bring attention to an implementation I have independently completed for the Flag API change-request support requirement.
Related pull request: [#8998 – feat(api): support staging flag updates in change requests](https://github.com/Flagsmith/flagsmith/pull/8998)
The implementation covers:
- Staging environment-default changes through change requests.
- Supporting segment-override creation, updates, and deletions.
- Preserving previously staged changes when subsequent updates are made.
- Persisting changes through the appropriate
VersionChangeSetstructures. - Validating incompatible, committed, and cross-environment change requests.
- Adding unit tests for the staging and validation behaviour.
The original issue [#8738](https://github.com/Flagsmith/flagsmith/issues/8738) was closed after being migrated to Linear as ENG-640. I independently investigated the publicly described requirement and submitted PR #8998; I was not assigned this task.
Request to maintainers
Could you please confirm whether PR #8998 is aligned with the intended ENG-640 requirement and arrange a review?
I would appreciate feedback on any architectural changes, missing test cases, or adjustments required. If the implementation meets the project's expectations, I would be grateful if you would consider merging the PR.
Thank you for your time and consideration.