{"action":"created","issue":{"url":"https://api.github.com/repos/bernardolins/fake_server/issues/40","repository_url":"https://api.github.com/repos/bernardolins/fake_server","labels_url":"https://api.github.com/repos/bernardolins/fake_server/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/bernardolins/fake_server/issues/40/comments","events_url":"https://api.github.com/repos/bernardolins/fake_server/issues/40/events","html_url":"https://github.com/bernardolins/fake_server/pull/40","id":369839660,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjc0ODY3","number":40,"title":"Version 2.0.0","user":{"login":"bernardolins","id":6402131,"node_id":"MDQ6VXNlcjY0MDIxMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/6402131?v=4","gravatar_id":"","url":"https://api.github.com/users/bernardolins","html_url":"https://github.com/bernardolins","followers_url":"https://api.github.com/users/bernardolins/followers","following_url":"https://api.github.com/users/bernardolins/following{/other_user}","gists_url":"https://api.github.com/users/bernardolins/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardolins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardolins/subscriptions","organizations_url":"https://api.github.com/users/bernardolins/orgs","repos_url":"https://api.github.com/users/bernardolins/repos","events_url":"https://api.github.com/users/bernardolins/events{/privacy}","received_events_url":"https://api.github.com/users/bernardolins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-13T20:46:12Z","updated_at":"2018-12-13T14:03:56Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/bernardolins/fake_server/pulls/40","html_url":"https://github.com/bernardolins/fake_server/pull/40","diff_url":"https://github.com/bernardolins/fake_server/pull/40.diff","patch_url":"https://github.com/bernardolins/fake_server/pull/40.patch"},"body":"- [x] Support Cowboy 2.0\r\n- [x] Improve error validation\r\n- [ ] Add FakeServer.run to improve standalone server support \r\n- [ ] Support global servers\r\n- [x] Move FakeServer.HTTP.Response to FakeServer.Response\r\n- [x] Add both `{:ok, _} | {:error, _}` and raise options to API\r\n- [x] Add `%FakeServer.Route{}` struct to manage routes and responses\r\n- [x] Split handlers into response types\r\n- [x] Remove `FakeControllers`"},"comment":{"url":"https://api.github.com/repos/bernardolins/fake_server/issues/comments/446979085","html_url":"https://github.com/bernardolins/fake_server/pull/40#issuecomment-446979085","issue_url":"https://api.github.com/repos/bernardolins/fake_server/issues/40","id":446979085,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njk3OTA4NQ==","user":{"login":"kevinbader","id":1306829,"node_id":"MDQ6VXNlcjEzMDY4Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1306829?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinbader","html_url":"https://github.com/kevinbader","followers_url":"https://api.github.com/users/kevinbader/followers","following_url":"https://api.github.com/users/kevinbader/following{/other_user}","gists_url":"https://api.github.com/users/kevinbader/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinbader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinbader/subscriptions","organizations_url":"https://api.github.com/users/kevinbader/orgs","repos_url":"https://api.github.com/users/kevinbader/repos","events_url":"https://api.github.com/users/kevinbader/events{/privacy}","received_events_url":"https://api.github.com/users/kevinbader/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T14:03:56Z","updated_at":"2018-12-13T14:03:56Z","author_association":"NONE","body":"btw, perhaps that's gonna be changed anyway, but just to document it here: the request object now keeps the parsed query map in `query_string` instead of `query`, e.g.:\r\n\r\n```elixir\r\n%FakeServer.Request{\r\n  body: nil,\r\n  cookies: %{},\r\n  headers: %{\"host\" => \"localhost:4000\", \"user-agent\" => \"hackney/1.14.3\"},\r\n  method: \"GET\",\r\n  path: \"/my-endpoint\",\r\n  query: %{},\r\n  query_string: %{\"foo\" => \"bar\"}\r\n}\r\n```"}}
{"actor":{"display_login":"kevinbader"}}