Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature flag lists backend changes #1719

Merged
merged 14 commits into from
Jul 18, 2024
Merged
8 changes: 8 additions & 0 deletions backend/packages/Upgrade/src/api/DTO/ExperimentDTO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,14 @@ export class ParticipantsValidator {
public segment: SegmentValidator;
}

export class ParticipantsArrayValidator {
@IsNotEmpty()
@IsArray()
@ValidateNested({ each: true })
@Type(() => SegmentValidator)
public segments: SegmentValidator[];
}

class StateTimeLogValidator {
@IsNotEmpty()
@IsString()
Expand Down
Loading
Loading