{"action":"created","issue":{"url":"https://api.github.com/repos/dom96/jester/issues/128","repository_url":"https://api.github.com/repos/dom96/jester","labels_url":"https://api.github.com/repos/dom96/jester/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/dom96/jester/issues/128/comments","events_url":"https://api.github.com/repos/dom96/jester/issues/128/events","html_url":"https://github.com/dom96/jester/pull/128","id":269053536,"number":128,"title":"Added support for having multiple matchers","user":{"login":"PMunch","id":2845482,"avatar_url":"https://avatars0.githubusercontent.com/u/2845482?v=4","gravatar_id":"","url":"https://api.github.com/users/PMunch","html_url":"https://github.com/PMunch","followers_url":"https://api.github.com/users/PMunch/followers","following_url":"https://api.github.com/users/PMunch/following{/other_user}","gists_url":"https://api.github.com/users/PMunch/gists{/gist_id}","starred_url":"https://api.github.com/users/PMunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PMunch/subscriptions","organizations_url":"https://api.github.com/users/PMunch/orgs","repos_url":"https://api.github.com/users/PMunch/repos","events_url":"https://api.github.com/users/PMunch/events{/privacy}","received_events_url":"https://api.github.com/users/PMunch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-27T10:03:11Z","updated_at":"2018-05-26T17:08:40Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dom96/jester/pulls/128","html_url":"https://github.com/dom96/jester/pull/128","diff_url":"https://github.com/dom96/jester/pull/128.diff","patch_url":"https://github.com/dom96/jester/pull/128.patch"},"body":"Most of the `routes` macro is now split out into a new macro `matcher` that creates a matcher without starting to listen for connections. This allows splitting the routes block into multiple parts and also select which matcher to use which could be a powerful tool to allow more complex routing. See the new file `tests/example3.nim` for an example on how to use this.\r\n\r\nNOTE: outsideStmts is now not possible, any code in the `routes` macro that doesn't belong in a route is simply ignored (maybe this should raise an error instead?)"},"comment":{"url":"https://api.github.com/repos/dom96/jester/issues/comments/392274839","html_url":"https://github.com/dom96/jester/pull/128#issuecomment-392274839","issue_url":"https://api.github.com/repos/dom96/jester/issues/128","id":392274839,"user":{"login":"PMunch","id":2845482,"avatar_url":"https://avatars0.githubusercontent.com/u/2845482?v=4","gravatar_id":"","url":"https://api.github.com/users/PMunch","html_url":"https://github.com/PMunch","followers_url":"https://api.github.com/users/PMunch/followers","following_url":"https://api.github.com/users/PMunch/following{/other_user}","gists_url":"https://api.github.com/users/PMunch/gists{/gist_id}","starred_url":"https://api.github.com/users/PMunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PMunch/subscriptions","organizations_url":"https://api.github.com/users/PMunch/orgs","repos_url":"https://api.github.com/users/PMunch/repos","events_url":"https://api.github.com/users/PMunch/events{/privacy}","received_events_url":"https://api.github.com/users/PMunch/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T17:08:40Z","updated_at":"2018-05-26T17:08:40Z","author_association":"CONTRIBUTOR","body":"The problem there is that currently the routes macro also calls `jester.serve`(at least when I wrote this), so you'd have to change the behaviour routes created with a name to not do this but rather something like what I did in this PR"}}
{"actor":{"display_login":"PMunch"}}