{"action":"created","issue":{"url":"https://api.github.com/repos/prooph/event-store/issues/198","repository_url":"https://api.github.com/repos/prooph/event-store","labels_url":"https://api.github.com/repos/prooph/event-store/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/prooph/event-store/issues/198/comments","events_url":"https://api.github.com/repos/prooph/event-store/issues/198/events","html_url":"https://github.com/prooph/event-store/issues/198","id":185036578,"number":198,"title":"RFC load max events and direction","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":8,"created_at":"2016-10-25T07:14:45Z","updated_at":"2016-10-25T09:15:27Z","closed_at":null,"body":"The current interface is:\r\n\r\n`public function load(StreamName $streamName, int $minVersion = null): Stream`\r\n\r\nI want to change to:\r\n\r\n`public function load(StreamName $streamName, int $minVersion = null, int $maxVersion = null, bool $forward = true): Stream`\r\n\r\nto allow loading events in a given range only (useful for http api f.e., see: https://github.com/prooph/event-store/issues/194) and additionally you can load the events in reverse order.\r\n\r\nSimilar to this `loadEvents` needs to be updated, too."},"comment":{"url":"https://api.github.com/repos/prooph/event-store/issues/comments/255981562","html_url":"https://github.com/prooph/event-store/issues/198#issuecomment-255981562","issue_url":"https://api.github.com/repos/prooph/event-store/issues/198","id":255981562,"user":{"login":"oqq","id":7161145,"avatar_url":"https://avatars.githubusercontent.com/u/7161145?v=3","gravatar_id":"","url":"https://api.github.com/users/oqq","html_url":"https://github.com/oqq","followers_url":"https://api.github.com/users/oqq/followers","following_url":"https://api.github.com/users/oqq/following{/other_user}","gists_url":"https://api.github.com/users/oqq/gists{/gist_id}","starred_url":"https://api.github.com/users/oqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oqq/subscriptions","organizations_url":"https://api.github.com/users/oqq/orgs","repos_url":"https://api.github.com/users/oqq/repos","events_url":"https://api.github.com/users/oqq/events{/privacy}","received_events_url":"https://api.github.com/users/oqq/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T09:15:27Z","updated_at":"2016-10-25T09:15:27Z","body":"How about to request an amount of events?\r\nfromVersion, amountOfEvents"}}
{"actor":{"display_login":"oqq"}}