analytics-elixir icon indicating copy to clipboard operation
analytics-elixir copied to clipboard

UserId should not be required for Groups

Open sheharyarn opened this issue 6 years ago • 0 comments

user_id is one of the required arguments for the group/4. But Segment's own group docs only mention two fields; groupId and traits. This is because usually, you would use this to identify the group itself and not associate a user with a group.

This method should be updated to remove the user_id argument. If someone needs to pass it, they can use group/1.

sheharyarn avatar Nov 08 '19 07:11 sheharyarn