{"action":"created","issue":{"url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant/issues/15","repository_url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant","labels_url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant/issues/15/comments","events_url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant/issues/15/events","html_url":"https://github.com/leoasis/redux-immutable-state-invariant/issues/15","id":159043693,"number":15,"title":"Error setting up","user":{"login":"oyeanuj","id":9633371,"avatar_url":"https://avatars.githubusercontent.com/u/9633371?v=3","gravatar_id":"","url":"https://api.github.com/users/oyeanuj","html_url":"https://github.com/oyeanuj","followers_url":"https://api.github.com/users/oyeanuj/followers","following_url":"https://api.github.com/users/oyeanuj/following{/other_user}","gists_url":"https://api.github.com/users/oyeanuj/gists{/gist_id}","starred_url":"https://api.github.com/users/oyeanuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyeanuj/subscriptions","organizations_url":"https://api.github.com/users/oyeanuj/orgs","repos_url":"https://api.github.com/users/oyeanuj/repos","events_url":"https://api.github.com/users/oyeanuj/events{/privacy}","received_events_url":"https://api.github.com/users/oyeanuj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-07T22:58:48Z","updated_at":"2016-06-08T22:31:18Z","closed_at":null,"body":"Hi @leoasis! I was looking to try your library but ran into the following error right away. (Apologies if this is a n00b error)\r\n\r\n```\r\nRangeError: Maximum call stack size exceeded\r\n[1]     at trackProperties (node_modules/redux-immutable-state-invariant/dist/trackForMutations.js:18:3)\r\n[1]     at trackProperties (node_modules/redux-immutable-state-invariant/dist/trackForMutations.js:24:31)\r\n```\r\n\r\nRelevant code setting up:\r\n```javascript\r\n\r\nlet middleware = [createMiddleware(client), transitionMiddleware];\r\n  if (__DEVELOPMENT__) {\r\n    const logger = createLogger({\r\n\tlogger: console\r\n    });\r\n    \r\n   const immutableState = require('redux-immutable-state-invariant')();\r\n    middleware = [\r\n\tcreateMiddleware(client),\r\n\ttransitionMiddleware,\r\n\tlogger,\r\n\timmutableState\r\n    ];\r\n  }\r\n\r\n  finalCreateStore = applyMiddleware(...middleware)(_createStore);\r\n```\r\n\r\nI am running `\"redux\": \"^3.0.5\"` if that helps diagnose.\r\n\r\nAny help would be much appreciated, and thank you for the library!\r\n"},"comment":{"url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant/issues/comments/224750423","html_url":"https://github.com/leoasis/redux-immutable-state-invariant/issues/15#issuecomment-224750423","issue_url":"https://api.github.com/repos/leoasis/redux-immutable-state-invariant/issues/15","id":224750423,"user":{"login":"oyeanuj","id":9633371,"avatar_url":"https://avatars.githubusercontent.com/u/9633371?v=3","gravatar_id":"","url":"https://api.github.com/users/oyeanuj","html_url":"https://github.com/oyeanuj","followers_url":"https://api.github.com/users/oyeanuj/followers","following_url":"https://api.github.com/users/oyeanuj/following{/other_user}","gists_url":"https://api.github.com/users/oyeanuj/gists{/gist_id}","starred_url":"https://api.github.com/users/oyeanuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyeanuj/subscriptions","organizations_url":"https://api.github.com/users/oyeanuj/orgs","repos_url":"https://api.github.com/users/oyeanuj/repos","events_url":"https://api.github.com/users/oyeanuj/events{/privacy}","received_events_url":"https://api.github.com/users/oyeanuj/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T22:31:18Z","updated_at":"2016-06-08T22:31:18Z","body":"Thanks for your quick response! My state is a complex object with many normalized entities. So, I think you are right that there are circular references. Is there a way to make this library work with circular dependencies?"}}
{"actor":{"display_login":"oyeanuj"}}