{"action":"opened","issue":{"url":"https://api.github.com/repos/algolia/react-instantsearch/issues/273","repository_url":"https://api.github.com/repos/algolia/react-instantsearch","labels_url":"https://api.github.com/repos/algolia/react-instantsearch/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/algolia/react-instantsearch/issues/273/comments","events_url":"https://api.github.com/repos/algolia/react-instantsearch/issues/273/events","html_url":"https://github.com/algolia/react-instantsearch/issues/273","id":252439012,"number":273,"title":"<Highlight> Not handling integers/floats","user":{"login":"mclapa","id":1053933,"avatar_url":"https://avatars2.githubusercontent.com/u/1053933?v=4","gravatar_id":"","url":"https://api.github.com/users/mclapa","html_url":"https://github.com/mclapa","followers_url":"https://api.github.com/users/mclapa/followers","following_url":"https://api.github.com/users/mclapa/following{/other_user}","gists_url":"https://api.github.com/users/mclapa/gists{/gist_id}","starred_url":"https://api.github.com/users/mclapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mclapa/subscriptions","organizations_url":"https://api.github.com/users/mclapa/orgs","repos_url":"https://api.github.com/users/mclapa/repos","events_url":"https://api.github.com/users/mclapa/events{/privacy}","received_events_url":"https://api.github.com/users/mclapa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-23T22:50:24Z","updated_at":"2017-08-23T22:50:24Z","closed_at":null,"body":"\r\n**Bug: What is the current behavior?**\r\nWhen using the Highlight component\r\n\r\n```\r\n<Hits hitComponent={HomeItem} />\r\n...\r\n<Highlight\r\n                  attributeName=\"unit_number\"\r\n                  hit={this.props.hit}\r\n                />\r\n                <Highlight\r\n                  attributeName=\"location_name\"\r\n                  hit={this.props.hit}\r\n                />\r\n```\r\nIf unit_number is not a string then that component will not return anything. \r\n\r\n**Bug: What is the expected behavior?**\r\nShould convert it to a string and then do the string operations on it\r\n\r\n**What is the version you are using? Always use the latest one before opening a bug issue.**\r\n\"react-instantsearch\": \"^4.0.10\",\r\n\r\n"}}
{"actor":{"display_login":"mclapa"}}