Closed ajin12 closed 3 years ago
@ajin12 Thanks for pointing that out. The boolean type is not our valid type for Node SDK, but we should include that. Will plan to work on that.
@ajin12 Thanks for pointing that out. The boolean type is not our valid type for Node SDK, but we should include that. Will plan to work on that.
Thanks!
Expected Behavior
Tried to set a user property to
true
/false
Current Behavior
Boolean user property didn't get set in Amplitude using
@amplitude/identify
library. As a workaround, I've been casting tostring
first before callingamplitudeClient.identify()
.Possible Solution
Steps to Reproduce
Tried doing something like:
to set
someProperty
user property totrue
but it didn't get set.As a workaround, am currently doing:
to get it set.
Environment