{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/kwelch/entities-reducer/pulls/1","id":138699554,"html_url":"https://github.com/kwelch/entities-reducer/pull/1","diff_url":"https://github.com/kwelch/entities-reducer/pull/1.diff","patch_url":"https://github.com/kwelch/entities-reducer/pull/1.patch","issue_url":"https://api.github.com/repos/kwelch/entities-reducer/issues/1","number":1,"state":"closed","locked":false,"title":"Fixed: entitiesReducer logs error if initial state is empty and there are no custom reducers","user":{"login":"rbrewington","id":25082725,"avatar_url":"https://avatars1.githubusercontent.com/u/25082725?v=4","gravatar_id":"","url":"https://api.github.com/users/rbrewington","html_url":"https://github.com/rbrewington","followers_url":"https://api.github.com/users/rbrewington/followers","following_url":"https://api.github.com/users/rbrewington/following{/other_user}","gists_url":"https://api.github.com/users/rbrewington/gists{/gist_id}","starred_url":"https://api.github.com/users/rbrewington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbrewington/subscriptions","organizations_url":"https://api.github.com/users/rbrewington/orgs","repos_url":"https://api.github.com/users/rbrewington/repos","events_url":"https://api.github.com/users/rbrewington/events{/privacy}","received_events_url":"https://api.github.com/users/rbrewington/received_events","type":"User","site_admin":false},"body":"added test and was able to recreate the issue where error gets thrown if state is empty and there are no custom reducers.\r\nError: Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.\r\n\r\nfixed by only calling combine reducers if there is anything to reduce:\r\nhttps://github.com/reactjs/redux/issues/968\r\n","created_at":"2017-08-31T15:36:48Z","updated_at":"2017-08-31T15:44:04Z","closed_at":"2017-08-31T15:44:04Z","merged_at":"2017-08-31T15:44:04Z","merge_commit_sha":"33c8a5d7d0bc43ff93cc4777cdcde00a61eec302","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kwelch/entities-reducer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kwelch/entities-reducer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kwelch/entities-reducer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kwelch/entities-reducer/issues/1/comments","statuses_url":"https://api.github.com/repos/kwelch/entities-reducer/statuses/b5ebdd07dbcbfdad93c0ceffa1f52a439a957700","head":{"label":"rbrewington:allowEmtpyReducers","ref":"allowEmtpyReducers","sha":"b5ebdd07dbcbfdad93c0ceffa1f52a439a957700","user":{"login":"rbrewington","id":25082725,"avatar_url":"https://avatars1.githubusercontent.com/u/25082725?v=4","gravatar_id":"","url":"https://api.github.com/users/rbrewington","html_url":"https://github.com/rbrewington","followers_url":"https://api.github.com/users/rbrewington/followers","following_url":"https://api.github.com/users/rbrewington/following{/other_user}","gists_url":"https://api.github.com/users/rbrewington/gists{/gist_id}","starred_url":"https://api.github.com/users/rbrewington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbrewington/subscriptions","organizations_url":"https://api.github.com/users/rbrewington/orgs","repos_url":"https://api.github.com/users/rbrewington/repos","events_url":"https://api.github.com/users/rbrewington/events{/privacy}","received_events_url":"https://api.github.com/users/rbrewington/received_events","type":"User","site_admin":false},"repo":{"id":102014786,"name":"entities-reducer","full_name":"rbrewington/entities-reducer","owner":{"login":"rbrewington","id":25082725,"avatar_url":"https://avatars1.githubusercontent.com/u/25082725?v=4","gravatar_id":"","url":"https://api.github.com/users/rbrewington","html_url":"https://github.com/rbrewington","followers_url":"https://api.github.com/users/rbrewington/followers","following_url":"https://api.github.com/users/rbrewington/following{/other_user}","gists_url":"https://api.github.com/users/rbrewington/gists{/gist_id}","starred_url":"https://api.github.com/users/rbrewington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbrewington/subscriptions","organizations_url":"https://api.github.com/users/rbrewington/orgs","repos_url":"https://api.github.com/users/rbrewington/repos","events_url":"https://api.github.com/users/rbrewington/events{/privacy}","received_events_url":"https://api.github.com/users/rbrewington/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rbrewington/entities-reducer","description":"Redux high order reducer for FSA normalized payloads","fork":true,"url":"https://api.github.com/repos/rbrewington/entities-reducer","forks_url":"https://api.github.com/repos/rbrewington/entities-reducer/forks","keys_url":"https://api.github.com/repos/rbrewington/entities-reducer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rbrewington/entities-reducer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rbrewington/entities-reducer/teams","hooks_url":"https://api.github.com/repos/rbrewington/entities-reducer/hooks","issue_events_url":"https://api.github.com/repos/rbrewington/entities-reducer/issues/events{/number}","events_url":"https://api.github.com/repos/rbrewington/entities-reducer/events","assignees_url":"https://api.github.com/repos/rbrewington/entities-reducer/assignees{/user}","branches_url":"https://api.github.com/repos/rbrewington/entities-reducer/branches{/branch}","tags_url":"https://api.github.com/repos/rbrewington/entities-reducer/tags","blobs_url":"https://api.github.com/repos/rbrewington/entities-reducer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rbrewington/entities-reducer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rbrewington/entities-reducer/git/refs{/sha}","trees_url":"https://api.github.com/repos/rbrewington/entities-reducer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rbrewington/entities-reducer/statuses/{sha}","languages_url":"https://api.github.com/repos/rbrewington/entities-reducer/languages","stargazers_url":"https://api.github.com/repos/rbrewington/entities-reducer/stargazers","contributors_url":"https://api.github.com/repos/rbrewington/entities-reducer/contributors","subscribers_url":"https://api.github.com/repos/rbrewington/entities-reducer/subscribers","subscription_url":"https://api.github.com/repos/rbrewington/entities-reducer/subscription","commits_url":"https://api.github.com/repos/rbrewington/entities-reducer/commits{/sha}","git_commits_url":"https://api.github.com/repos/rbrewington/entities-reducer/git/commits{/sha}","comments_url":"https://api.github.com/repos/rbrewington/entities-reducer/comments{/number}","issue_comment_url":"https://api.github.com/repos/rbrewington/entities-reducer/issues/comments{/number}","contents_url":"https://api.github.com/repos/rbrewington/entities-reducer/contents/{+path}","compare_url":"https://api.github.com/repos/rbrewington/entities-reducer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rbrewington/entities-reducer/merges","archive_url":"https://api.github.com/repos/rbrewington/entities-reducer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rbrewington/entities-reducer/downloads","issues_url":"https://api.github.com/repos/rbrewington/entities-reducer/issues{/number}","pulls_url":"https://api.github.com/repos/rbrewington/entities-reducer/pulls{/number}","milestones_url":"https://api.github.com/repos/rbrewington/entities-reducer/milestones{/number}","notifications_url":"https://api.github.com/repos/rbrewington/entities-reducer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rbrewington/entities-reducer/labels{/name}","releases_url":"https://api.github.com/repos/rbrewington/entities-reducer/releases{/id}","deployments_url":"https://api.github.com/repos/rbrewington/entities-reducer/deployments","created_at":"2017-08-31T15:18:32Z","updated_at":"2017-08-31T15:18:33Z","pushed_at":"2017-08-31T15:34:37Z","git_url":"git://github.com/rbrewington/entities-reducer.git","ssh_url":"git@github.com:rbrewington/entities-reducer.git","clone_url":"https://github.com/rbrewington/entities-reducer.git","svn_url":"https://github.com/rbrewington/entities-reducer","homepage":null,"size":89,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kwelch:master","ref":"master","sha":"0d0bc38610009ebdd6371a4258d4626a85b45519","user":{"login":"kwelch","id":1295580,"avatar_url":"https://avatars3.githubusercontent.com/u/1295580?v=4","gravatar_id":"","url":"https://api.github.com/users/kwelch","html_url":"https://github.com/kwelch","followers_url":"https://api.github.com/users/kwelch/followers","following_url":"https://api.github.com/users/kwelch/following{/other_user}","gists_url":"https://api.github.com/users/kwelch/gists{/gist_id}","starred_url":"https://api.github.com/users/kwelch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwelch/subscriptions","organizations_url":"https://api.github.com/users/kwelch/orgs","repos_url":"https://api.github.com/users/kwelch/repos","events_url":"https://api.github.com/users/kwelch/events{/privacy}","received_events_url":"https://api.github.com/users/kwelch/received_events","type":"User","site_admin":false},"repo":{"id":80489057,"name":"entities-reducer","full_name":"kwelch/entities-reducer","owner":{"login":"kwelch","id":1295580,"avatar_url":"https://avatars3.githubusercontent.com/u/1295580?v=4","gravatar_id":"","url":"https://api.github.com/users/kwelch","html_url":"https://github.com/kwelch","followers_url":"https://api.github.com/users/kwelch/followers","following_url":"https://api.github.com/users/kwelch/following{/other_user}","gists_url":"https://api.github.com/users/kwelch/gists{/gist_id}","starred_url":"https://api.github.com/users/kwelch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwelch/subscriptions","organizations_url":"https://api.github.com/users/kwelch/orgs","repos_url":"https://api.github.com/users/kwelch/repos","events_url":"https://api.github.com/users/kwelch/events{/privacy}","received_events_url":"https://api.github.com/users/kwelch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kwelch/entities-reducer","description":"Redux high order reducer for FSA normalized payloads","fork":false,"url":"https://api.github.com/repos/kwelch/entities-reducer","forks_url":"https://api.github.com/repos/kwelch/entities-reducer/forks","keys_url":"https://api.github.com/repos/kwelch/entities-reducer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kwelch/entities-reducer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kwelch/entities-reducer/teams","hooks_url":"https://api.github.com/repos/kwelch/entities-reducer/hooks","issue_events_url":"https://api.github.com/repos/kwelch/entities-reducer/issues/events{/number}","events_url":"https://api.github.com/repos/kwelch/entities-reducer/events","assignees_url":"https://api.github.com/repos/kwelch/entities-reducer/assignees{/user}","branches_url":"https://api.github.com/repos/kwelch/entities-reducer/branches{/branch}","tags_url":"https://api.github.com/repos/kwelch/entities-reducer/tags","blobs_url":"https://api.github.com/repos/kwelch/entities-reducer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kwelch/entities-reducer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kwelch/entities-reducer/git/refs{/sha}","trees_url":"https://api.github.com/repos/kwelch/entities-reducer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kwelch/entities-reducer/statuses/{sha}","languages_url":"https://api.github.com/repos/kwelch/entities-reducer/languages","stargazers_url":"https://api.github.com/repos/kwelch/entities-reducer/stargazers","contributors_url":"https://api.github.com/repos/kwelch/entities-reducer/contributors","subscribers_url":"https://api.github.com/repos/kwelch/entities-reducer/subscribers","subscription_url":"https://api.github.com/repos/kwelch/entities-reducer/subscription","commits_url":"https://api.github.com/repos/kwelch/entities-reducer/commits{/sha}","git_commits_url":"https://api.github.com/repos/kwelch/entities-reducer/git/commits{/sha}","comments_url":"https://api.github.com/repos/kwelch/entities-reducer/comments{/number}","issue_comment_url":"https://api.github.com/repos/kwelch/entities-reducer/issues/comments{/number}","contents_url":"https://api.github.com/repos/kwelch/entities-reducer/contents/{+path}","compare_url":"https://api.github.com/repos/kwelch/entities-reducer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kwelch/entities-reducer/merges","archive_url":"https://api.github.com/repos/kwelch/entities-reducer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kwelch/entities-reducer/downloads","issues_url":"https://api.github.com/repos/kwelch/entities-reducer/issues{/number}","pulls_url":"https://api.github.com/repos/kwelch/entities-reducer/pulls{/number}","milestones_url":"https://api.github.com/repos/kwelch/entities-reducer/milestones{/number}","notifications_url":"https://api.github.com/repos/kwelch/entities-reducer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kwelch/entities-reducer/labels{/name}","releases_url":"https://api.github.com/repos/kwelch/entities-reducer/releases{/id}","deployments_url":"https://api.github.com/repos/kwelch/entities-reducer/deployments","created_at":"2017-01-31T03:50:04Z","updated_at":"2017-06-10T16:05:26Z","pushed_at":"2017-08-31T15:44:04Z","git_url":"git://github.com/kwelch/entities-reducer.git","ssh_url":"git@github.com:kwelch/entities-reducer.git","clone_url":"https://github.com/kwelch/entities-reducer.git","svn_url":"https://github.com/kwelch/entities-reducer","homepage":null,"size":89,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kwelch/entities-reducer/pulls/1"},"html":{"href":"https://github.com/kwelch/entities-reducer/pull/1"},"issue":{"href":"https://api.github.com/repos/kwelch/entities-reducer/issues/1"},"comments":{"href":"https://api.github.com/repos/kwelch/entities-reducer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kwelch/entities-reducer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kwelch/entities-reducer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kwelch/entities-reducer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kwelch/entities-reducer/statuses/b5ebdd07dbcbfdad93c0ceffa1f52a439a957700"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kwelch","id":1295580,"avatar_url":"https://avatars3.githubusercontent.com/u/1295580?v=4","gravatar_id":"","url":"https://api.github.com/users/kwelch","html_url":"https://github.com/kwelch","followers_url":"https://api.github.com/users/kwelch/followers","following_url":"https://api.github.com/users/kwelch/following{/other_user}","gists_url":"https://api.github.com/users/kwelch/gists{/gist_id}","starred_url":"https://api.github.com/users/kwelch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwelch/subscriptions","organizations_url":"https://api.github.com/users/kwelch/orgs","repos_url":"https://api.github.com/users/kwelch/repos","events_url":"https://api.github.com/users/kwelch/events{/privacy}","received_events_url":"https://api.github.com/users/kwelch/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":19,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"kwelch"}}