Flagsmith / Flagsmith/flagsmith

Migrate shared services and models in flagsmith-common

Open
#5,485 2 comments 0 reactions 0 assignees View on GitHub
chore tech-debt
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

### Is your feature request related to a problem?

Several models, and services are used across different flagsmith repositories (`flagsmith-workflows`, `flagsmith-api`, `flagsmith-common`).
Migrating them to common would allow to reduce the repetition of logic and would provide more flexibility.

Candidates for migrations:
- `MetadataField`
- `MetadataModelField`
- `MetadataModelFieldRequirement`
- `SegmentCloneService`
- `ChangeRequestCommitService`
- `Project`
- `Segment`
- `SoftDeleteExportableModel`
- `SegmentRule`
- `Rule`

### Describe the solution you'd like.

Migrating them to flagsmith-common and re-use them in dependent repositories

### Describe alternatives you've considered

N/A

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.