{"action":"created","issue":{"url":"https://api.github.com/repos/yelouafi/redux-saga/issues/246","repository_url":"https://api.github.com/repos/yelouafi/redux-saga","labels_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/246/comments","events_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/246/events","html_url":"https://github.com/yelouafi/redux-saga/issues/246","id":146029380,"number":246,"title":"takeEvery doesn't work when action type is a Symbol","user":{"login":"Zacqary","id":1445834,"avatar_url":"https://avatars.githubusercontent.com/u/1445834?v=3","gravatar_id":"","url":"https://api.github.com/users/Zacqary","html_url":"https://github.com/Zacqary","followers_url":"https://api.github.com/users/Zacqary/followers","following_url":"https://api.github.com/users/Zacqary/following{/other_user}","gists_url":"https://api.github.com/users/Zacqary/gists{/gist_id}","starred_url":"https://api.github.com/users/Zacqary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zacqary/subscriptions","organizations_url":"https://api.github.com/users/Zacqary/orgs","repos_url":"https://api.github.com/users/Zacqary/repos","events_url":"https://api.github.com/users/Zacqary/events{/privacy}","received_events_url":"https://api.github.com/users/Zacqary/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yelouafi/redux-saga/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-05T15:46:37Z","updated_at":"2016-04-13T17:30:53Z","closed_at":null,"body":"When dispatching actions with a `type` equal to a `Symbol`, `takeEvery` throws `TypeError: Cannot convert a Symbol value to a string`.\r\n```javascript\r\nconst ACTION_TYPE = Symbol(\"ACTION_TYPE Debug String\");\r\n```\r\n```javascript\r\n// Inside a saga\r\nyield* takeEvery(ACTION_TYPE, sagaToYield); // Throws TypeError\r\n```\r\n\r\nHowever, using `take` works fine.\r\n```javascript\r\nfor (;;) {\r\n    yield take(ACTION_TYPE);\r\n    // Yield results...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/yelouafi/redux-saga/issues/comments/209556409","html_url":"https://github.com/yelouafi/redux-saga/issues/246#issuecomment-209556409","issue_url":"https://api.github.com/repos/yelouafi/redux-saga/issues/246","id":209556409,"user":{"login":"yelouafi","id":5453835,"avatar_url":"https://avatars.githubusercontent.com/u/5453835?v=3","gravatar_id":"","url":"https://api.github.com/users/yelouafi","html_url":"https://github.com/yelouafi","followers_url":"https://api.github.com/users/yelouafi/followers","following_url":"https://api.github.com/users/yelouafi/following{/other_user}","gists_url":"https://api.github.com/users/yelouafi/gists{/gist_id}","starred_url":"https://api.github.com/users/yelouafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelouafi/subscriptions","organizations_url":"https://api.github.com/users/yelouafi/orgs","repos_url":"https://api.github.com/users/yelouafi/repos","events_url":"https://api.github.com/users/yelouafi/events{/privacy}","received_events_url":"https://api.github.com/users/yelouafi/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T17:30:53Z","updated_at":"2016-04-13T17:30:53Z","body":"fixed by https://github.com/yelouafi/redux-saga/commit/c9c63d95a95846162a3f51739d2b9dee41bd695a"}}