fix(console): single feature patch (#10476)

# Which Problems Are Solved

This PR fixes an issue where all features where patched, instead of a
single one. This led to instance overrides which were not intended.
With this change, an update is executed whenever a toggle is hit, only
containing the respective feature, not all.

# How the Problems Are Solved

The console application was overriding the feature settings as an entire
request. A toggle change is now only changing the desired and targeted
feature using partial patches.

# Additional Context

Closes #10459

---------

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Max Peintner
2025-08-22 09:55:31 +02:00
committed by GitHub
co-authored by Elio Bischof
parent ac3a4037a7
commit d8518d48f2
7 changed files with 251 additions and 21 deletions
+1
View File
@@ -16,6 +16,7 @@ export function apiAuth(): Cypress.Chainable<API> {
oauthBaseURL: `${backendUrl}/oauth/v2`,
oidcBaseURL: `${backendUrl}/oidc/v1`,
samlBaseURL: `${backendUrl}/saml/v2`,
featuresBaseURL: `${backendUrl}/v2/features`,
};
});
}