From 888d088ac59fc645ff5492645846e129fa16e7ce Mon Sep 17 00:00:00 2001 From: Brian Giori Date: Tue, 15 Oct 2024 09:15:26 -0700 Subject: [PATCH] feat: support non-string group prop values --- 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"`