{"action":"closed","issue":{"url":"https://api.github.com/repos/gajus/redux-immutable/issues/11","labels_url":"https://api.github.com/repos/gajus/redux-immutable/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/gajus/redux-immutable/issues/11/comments","events_url":"https://api.github.com/repos/gajus/redux-immutable/issues/11/events","html_url":"https://github.com/gajus/redux-immutable/issues/11","id":122250639,"number":11,"title":"`CONSTRUCT` for creating initial state is not working","user":{"login":"channikhabra","id":1437091,"avatar_url":"https://avatars.githubusercontent.com/u/1437091?v=3","gravatar_id":"","url":"https://api.github.com/users/channikhabra","html_url":"https://github.com/channikhabra","followers_url":"https://api.github.com/users/channikhabra/followers","following_url":"https://api.github.com/users/channikhabra/following{/other_user}","gists_url":"https://api.github.com/users/channikhabra/gists{/gist_id}","starred_url":"https://api.github.com/users/channikhabra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/channikhabra/subscriptions","organizations_url":"https://api.github.com/users/channikhabra/orgs","repos_url":"https://api.github.com/users/channikhabra/repos","events_url":"https://api.github.com/users/channikhabra/events{/privacy}","received_events_url":"https://api.github.com/users/channikhabra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T11:20:55Z","updated_at":"2016-01-27T18:54:43Z","closed_at":"2016-01-27T18:54:42Z","body":"This is my reducer:\r\n\r\n```js\r\n// reducers/query.js\r\nlet CONSTRUCT;\r\n\r\nCONSTRUCT = () => {\r\n    return {\r\n        transportId: 1,\r\n        fromDate: '2015-12-12',\r\n        radius: 100000\r\n    };\r\n};\r\n\r\nexport default {\r\n    CONSTRUCT\r\n};\r\n```\r\n\r\n```js\r\n// reducers/index.js\r\nexport query from './query';\r\n```\r\n\r\nThis is how I am creating the store:\r\n\r\n```js\r\ninitialState = {};\r\nreducer = combineReducers(reducers);\r\nstate = reducer(initialState);\r\nstore = applyMiddleware(thunk, logger)(createStore)(reducer, state);\r\n```\r\n\r\nI was expecting to get what's returned by `CONSTRUCT` as `state.query`, but it fails with the error `Uncaught Error: Action parameter value must be an object.`\r\n\r\nI think this is a bug. Please update me if I am missing something (/ doing something wrong)."}}