mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
aa20d2d418
## About the changes This PR addresses some issues when working with variants after migrating to variants per environment. **Problem:** since PATCH `/api/admin/projects/default/features/${featureName}/variants` does not take into account `featureEnvironments`, when variantsPerEnvironment gets enabled, this method will override the variants in other environments (i.e. not doing a patch). This method has to be maintained because of backward compatibility but it has to be adapted to deal with variants per environment https://linear.app/unleash/issue/2-476/when-using-patch-for-variants-without-environments-it-wipes-out Co-authored-by: Nuno Góis <github@nunogois.com> |
||
---|---|---|
.. | ||
__snapshots__ | ||
addons | ||
db | ||
error | ||
middleware | ||
openapi | ||
proxy | ||
routes | ||
schema | ||
services | ||
types | ||
util | ||
app.test.ts | ||
app.ts | ||
create-config.test.ts | ||
create-config.ts | ||
default-custom-auth-deny-all.ts | ||
event-hook.test.ts | ||
event-hook.ts | ||
internals.ts | ||
logger.test.ts | ||
logger.ts | ||
metric-events.ts | ||
metrics.test.ts | ||
metrics.ts | ||
server-impl.test.ts | ||
server-impl.ts |