Skip to content

Commit

Permalink
Expose ImpressionData property from api.Feature type (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrigoruk authored Oct 25, 2024
1 parent 9ed9c22 commit a373972
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 a373972

Please sign in to comment.