From 7064c5d3376a33e321e7016ed10907afb660d998 Mon Sep 17 00:00:00 2001 From: Brian Giori Date: Wed, 16 Oct 2024 15:51:07 -0700 Subject: [PATCH] feat: support non-string group prop values (#31) --- pkg/experiment/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/experiment/types.go b/pkg/experiment/types.go index 489777a..89aa425 100644 --- a/pkg/experiment/types.go +++ b/pkg/experiment/types.go @@ -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"`