Skip to content

Commit 8316650

Browse files
committed
Adds generateAllVariations feature flag
1 parent fa067b4 commit 8316650

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
5858
case .applicationPasswordAuthenticationForSiteCredentialLogin:
5959
// Enable this to test application password authentication (WIP)
6060
return false
61+
case .generateAllVariations:
62+
return buildConfig == .localDeveloper || buildConfig == .alpha
6163
default:
6264
return true
6365
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,8 @@ public enum FeatureFlag: Int {
137137
/// Whether application password authentication should be used when a user logs in with site credentials.
138138
///
139139
case applicationPasswordAuthenticationForSiteCredentialLogin
140+
141+
/// Allows merchants to create all variations from a single button
142+
///
143+
case generateAllVariations
140144
}

0 commit comments

Comments
 (0)