{"action":"created","issue":{"url":"https://api.github.com/repos/EventStore/EventStore/issues/1568","repository_url":"https://api.github.com/repos/EventStore/EventStore","labels_url":"https://api.github.com/repos/EventStore/EventStore/issues/1568/labels{/name}","comments_url":"https://api.github.com/repos/EventStore/EventStore/issues/1568/comments","events_url":"https://api.github.com/repos/EventStore/EventStore/issues/1568/events","html_url":"https://github.com/EventStore/EventStore/issues/1568","id":299688012,"number":1568,"title":"fromStreams doesn't work","user":{"login":"dimaip","id":837032,"avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-23T11:54:49Z","updated_at":"2018-02-27T17:42:24Z","closed_at":null,"author_association":"NONE","body":"This projection displays no state and no results:\r\n```js\r\nfromStreams(['payments', 'subscriptions'])\r\n.when({\r\n    $init: function(){\r\n        return {\r\n            debug: []\r\n        };\r\n    },\r\n    $any: function handle(s, e) {\r\n        s.debug.push(e);\r\n        return s;\r\n    }\r\n});\r\n```\r\n\r\nThis works:\r\n```js\r\nfromStreams(['payments'])\r\n.when({\r\n    $init: function(){\r\n        return {\r\n            debug: []\r\n        };\r\n    },\r\n    $any: function handle(s, e) {\r\n        s.debug.push(e);\r\n        return s;\r\n    }\r\n});\r\n```\r\n\r\nThis works: \r\n\r\n```js\r\nfromStreams(['subscriptions'])\r\n.when({\r\n    $init: function(){\r\n        return {\r\n            debug: []\r\n        };\r\n    },\r\n    $any: function handle(s, e) {\r\n        s.debug.push(e);\r\n        return s;\r\n    }\r\n});\r\n```\r\n\r\nHow could this be?\r\n\r\nI'm running 4.1.0 version from docker.\r\n\r\n![image](https://user-images.githubusercontent.com/837032/36593099-759ae004-18a9-11e8-87f0-badd968bd9cc.png)\r\n"},"comment":{"url":"https://api.github.com/repos/EventStore/EventStore/issues/comments/368963411","html_url":"https://github.com/EventStore/EventStore/issues/1568#issuecomment-368963411","issue_url":"https://api.github.com/repos/EventStore/EventStore/issues/1568","id":368963411,"user":{"login":"dimaip","id":837032,"avatar_url":"https://avatars1.githubusercontent.com/u/837032?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaip","html_url":"https://github.com/dimaip","followers_url":"https://api.github.com/users/dimaip/followers","following_url":"https://api.github.com/users/dimaip/following{/other_user}","gists_url":"https://api.github.com/users/dimaip/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaip/subscriptions","organizations_url":"https://api.github.com/users/dimaip/orgs","repos_url":"https://api.github.com/users/dimaip/repos","events_url":"https://api.github.com/users/dimaip/events{/privacy}","received_events_url":"https://api.github.com/users/dimaip/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T17:42:24Z","updated_at":"2018-02-27T17:42:24Z","author_association":"NONE","body":"@hayley-jean this screen?\r\n\r\n![image](https://user-images.githubusercontent.com/837032/36744687-847acca8-1bfe-11e8-80ea-fa8f0be8d0d8.png)\r\n\r\nAs said, I'm running version 4.1.0 from the official docker image.\r\nBoth streams have events, ~400 in each."}}
{"actor":{"display_login":"dimaip"}}