Skip to content

Commit

Permalink
feat: support non-string group prop values (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgiori authored Oct 16, 2024
1 parent c05cf47 commit 7064c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/experiment/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type User struct {
Carrier string `json:"carrier,omitempty"`
Library string `json:"library,omitempty"`
UserProperties map[string]interface{} `json:"user_properties,omitempty"`
GroupProperties map[string]map[string]string `json:"group_properties,omitempty"`
GroupProperties map[string]map[string]interface{} `json:"group_properties,omitempty"`
Groups map[string][]string `json:"groups,omitempty"`
CohortIds map[string]struct{} `json:"cohort_ids,omitempty"`
GroupCohortIds map[string]map[string]map[string]struct{} `json:"group_cohort_ids,omitempty"`
Expand Down

0 comments on commit 7064c5d

Please sign in to comment.