1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/src/test/e2e
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 feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
helpers refactor: batch feature metric inserts (#1928) 2022-08-19 10:38:26 +02:00
routes Wip/environments (#880) 2021-07-07 10:46:50 +02:00
seed feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
services feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
stores openapi: improve validation testing (#2058) 2022-09-23 15:02:09 +02:00
custom-auth.test.ts chore: mute expected test errors 2021-10-29 11:22:40 +02:00
health.e2e.test.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00