Skip to content

Commit

Permalink
Expose ImpressionData property from api.Feature type
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrigoruk committed Oct 16, 2024
1 parent 9ed9c22 commit 9560cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9560cee

Please sign in to comment.