{"action":"created","issue":{"url":"https://api.github.com/repos/prooph/event-store/issues/192","repository_url":"https://api.github.com/repos/prooph/event-store","labels_url":"https://api.github.com/repos/prooph/event-store/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/prooph/event-store/issues/192/comments","events_url":"https://api.github.com/repos/prooph/event-store/issues/192/events","html_url":"https://github.com/prooph/event-store/issues/192","id":184770263,"number":192,"title":"RFC query-stream-api","user":{"login":"prolic","id":394428,"avatar_url":"https://avatars.githubusercontent.com/u/394428?v=3","gravatar_id":"","url":"https://api.github.com/users/prolic","html_url":"https://github.com/prolic","followers_url":"https://api.github.com/users/prolic/followers","following_url":"https://api.github.com/users/prolic/following{/other_user}","gists_url":"https://api.github.com/users/prolic/gists{/gist_id}","starred_url":"https://api.github.com/users/prolic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prolic/subscriptions","organizations_url":"https://api.github.com/users/prolic/orgs","repos_url":"https://api.github.com/users/prolic/repos","events_url":"https://api.github.com/users/prolic/events{/privacy}","received_events_url":"https://api.github.com/users/prolic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prooph/event-store/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/prooph/event-store/milestones/6","html_url":"https://github.com/prooph/event-store/milestones/7.0%20Release","labels_url":"https://api.github.com/repos/prooph/event-store/milestones/6/labels","id":1792864,"number":6,"title":"7.0 Release","description":"","creator":{"login":"codeliner","id":5131987,"avatar_url":"https://avatars.githubusercontent.com/u/5131987?v=3","gravatar_id":"","url":"https://api.github.com/users/codeliner","html_url":"https://github.com/codeliner","followers_url":"https://api.github.com/users/codeliner/followers","following_url":"https://api.github.com/users/codeliner/following{/other_user}","gists_url":"https://api.github.com/users/codeliner/gists{/gist_id}","starred_url":"https://api.github.com/users/codeliner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeliner/subscriptions","organizations_url":"https://api.github.com/users/codeliner/orgs","repos_url":"https://api.github.com/users/codeliner/repos","events_url":"https://api.github.com/users/codeliner/events{/privacy}","received_events_url":"https://api.github.com/users/codeliner/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":4,"state":"open","created_at":"2016-05-27T20:59:24Z","updated_at":"2016-10-25T09:07:11Z","due_on":"2016-12-01T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-24T07:44:44Z","updated_at":"2016-10-25T10:03:54Z","closed_at":null,"body":"basicially something like this:\r\n\r\n```\r\nfromStream - Returns one stream to query, f.e. fromStream('user')\r\nfromStreams - Returns a list of streams, f.e. fromStreams(['user', 'todo'])\r\nfromCategory - Returns a list of streams in a category, f.e. fromCategory('user')\r\nfromAll - Returns a list of all streams\r\nwhenAny($callback) - for any event do....\r\nwhen('UserCreated', $callback) - for event UserWasCreated do...\r\nforeachStream() - handle all streams in parallel (amqp or pthreads maybe)?\r\n```\r\n\r\nThe exact implementation details are not yet subject to this RFC and need to be discusses further."},"comment":{"url":"https://api.github.com/repos/prooph/event-store/issues/comments/255992670","html_url":"https://github.com/prooph/event-store/issues/192#issuecomment-255992670","issue_url":"https://api.github.com/repos/prooph/event-store/issues/192","id":255992670,"user":{"login":"codeliner","id":5131987,"avatar_url":"https://avatars.githubusercontent.com/u/5131987?v=3","gravatar_id":"","url":"https://api.github.com/users/codeliner","html_url":"https://github.com/codeliner","followers_url":"https://api.github.com/users/codeliner/followers","following_url":"https://api.github.com/users/codeliner/following{/other_user}","gists_url":"https://api.github.com/users/codeliner/gists{/gist_id}","starred_url":"https://api.github.com/users/codeliner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeliner/subscriptions","organizations_url":"https://api.github.com/users/codeliner/orgs","repos_url":"https://api.github.com/users/codeliner/repos","events_url":"https://api.github.com/users/codeliner/events{/privacy}","received_events_url":"https://api.github.com/users/codeliner/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T10:03:54Z","updated_at":"2016-10-25T10:03:54Z","body":"sounds great, but maybe 7.1? We need to consider a lot of things and work out an API. It is a new feature and should not introduce BC breaks so we could focus on 7.0 first and add query-api in a second step?"}}
{"actor":{"display_login":"codeliner"}}