Skip to content

Cannot use snake cased args (for non-custom Intercom props) #16

@queengooborg

Description

@queengooborg

During migration from react-intercom, we ran into another little issue with variable names. As described, all of Intercom's default props are camel cased, however there are implications that snake casing is allowed. However, when I tried to pass user_hash, it apparently was not passed to Intercom. It seems that in mapDataAttributesToRawDataAttributes(), user_hash is overwritten by whatever userHash is.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions