Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty enumerables aren't sent as people properties to MixPanel #3

Closed
yaronguez opened this issue Aug 9, 2016 · 3 comments
Closed

Comments

@yaronguez
Copy link

If we send an empty list as a property in the PeopleSet method, it isn't sent to MixPanel. I'm trying to empty an existing list. How is the best way to handle this?

Thanks!

@yaronguez
Copy link
Author

Follow up: I found that sending an IEnumerable in the following manner allows an empty list to be sent along to Mixpanel:

mixPanelClient.PeopleSet(distinctId, new
{
    SomeList = someList.DefaultIfEmpty(string.Empty),
});

@eealeivan eealeivan reopened this Aug 11, 2016
@eealeivan
Copy link
Owner

Hi, I added a fix b564ae9 that will send empty enumerables too. I want to fix few more issues and then release new minor version.

@eealeivan
Copy link
Owner

This bug is fixed in version 4.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants