From 9560cee3cd1fb107e6d7ca2c2fdad04ff27b2f2f Mon Sep 17 00:00:00 2001 From: Vitalii Grygoruk Date: Wed, 16 Oct 2024 13:49:41 +0200 Subject: [PATCH] Expose ImpressionData property from api.Feature type --- 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 {