1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/schema
Gastón Fournier efd47b72a8
feat: Add variants per env (#2471)
## About the changes
Variants are now stored in each environment rather than in the feature
toggle. This enables RBAC, suggest changes, etc to also apply to
variants.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2254

### Important files
- **src/lib/db/feature-strategy-store.ts** a complex query was moved to
a view named `features_view`
- **src/lib/services/state-service.ts** export version number increased
due to the new format

## Discussion points
We're keeping the old column as a safeguard to be able to go back

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2022-11-21 10:37:16 +01:00
..
api-token-schema.test.ts Feat/add alias to api tokens (#1931) 2022-08-19 10:48:33 +02:00
api-token-schema.ts Refactor: rename frontend api key (#1935) 2022-08-18 08:20:51 +00:00
constraint-value-types.test.ts Feat/new constraint operators (#1397) 2022-03-04 17:29:42 +01:00
constraint-value-types.ts refactor: always add values to constraints (#1448) 2022-03-17 12:32:04 +01:00
feature-schema.test.ts refactor: always add values to constraints (#1448) 2022-03-17 12:32:04 +01:00
feature-schema.ts feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
role-schema.test.ts feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00
role-schema.ts feat: custom project roles (#1220) 2022-01-13 11:14:17 +01:00