mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
chore: use clean-contexts
This commit is contained in:
parent
e6d4a07f80
commit
56e728a008
@ -28,6 +28,7 @@ import type { AdvancedPlaygroundEnvironmentFeatureSchema } from '../../openapi/s
|
||||
import { validateQueryComplexity } from './validateQueryComplexity';
|
||||
import type { IPrivateProjectChecker } from '../private-project/privateProjectCheckerType';
|
||||
import { getDefaultVariant } from './feature-evaluator/variant';
|
||||
import { cleanContext } from './clean-context';
|
||||
|
||||
type EvaluationInput = {
|
||||
features: FeatureConfigurationClient[];
|
||||
@ -124,7 +125,8 @@ export class PlaygroundService {
|
||||
this.resolveFeatures(filteredProjects, env),
|
||||
),
|
||||
);
|
||||
const contexts = generateObjectCombinations(context);
|
||||
|
||||
const contexts = generateObjectCombinations(cleanContext(context));
|
||||
|
||||
validateQueryComplexity(
|
||||
environments.length,
|
||||
|
Loading…
Reference in New Issue
Block a user