From a373972df0619de9e4d4eaa1dbd00b9099aca3b3 Mon Sep 17 00:00:00 2001 From: Vitalii Grygoruk Date: Fri, 25 Oct 2024 09:03:45 +0200 Subject: [PATCH] Expose ImpressionData property from api.Feature type (#181) --- api/feature.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/feature.go b/api/feature.go index 2cea17b..e736a4e 100644 --- a/api/feature.go +++ b/api/feature.go @@ -52,6 +52,9 @@ type Feature struct { // Dependencies is a list of feature toggle dependency objects Dependencies *[]Dependency `json:"dependencies"` + + // ImpressionData indicates whether the client SDK should emit an impression event + ImpressionData bool `json:"impressionData"` } type Dependency struct {