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

Track can't handle keys as values. #10

Open
JustinC474 opened this issue Mar 7, 2016 · 0 comments
Open

Track can't handle keys as values. #10

JustinC474 opened this issue Mar 7, 2016 · 0 comments

Comments

@JustinC474
Copy link

Currently if you pass in keys as values.. ie:

(segment-lib/track client user-id event {:old-plan :starter :new-plan :enterprise}

the keys old-plan and new-plan are discarded and the following warn messages are printed:

WARN com.github.segmentio.models.Props Key old-plan value :starter not allowed because it is not of type String, Integer, Double, Boolean, or Date.
WARN com.github.segmentio.models.Props Key new-plan value :enterprise not allowed because it is not of type String, Integer, Double, Boolean, or Date.

These should just be converted to strings.

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

1 participant