From b4cbf882e539a08adc21d8ef994839a6a3ba43cc Mon Sep 17 00:00:00 2001 From: Fahad Heylaal Date: Mon, 2 Oct 2023 19:37:01 +0200 Subject: [PATCH] environment in assertion is required --- src/main/kotlin/com/featurevisor/types/Types.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/featurevisor/types/Types.kt b/src/main/kotlin/com/featurevisor/types/Types.kt index ca684c2..271fa7b 100644 --- a/src/main/kotlin/com/featurevisor/types/Types.kt +++ b/src/main/kotlin/com/featurevisor/types/Types.kt @@ -350,7 +350,7 @@ data class ParsedFeature( */ data class FeatureAssertion( val description: String?, - val environment: EnvironmentKey?, + val environment: EnvironmentKey, // bucket weight: 0 to 100 val at: Weight, val context: Context,