{"action":"created","issue":{"url":"https://api.github.com/repos/helium/airship/issues/61","labels_url":"https://api.github.com/repos/helium/airship/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/helium/airship/issues/61/comments","events_url":"https://api.github.com/repos/helium/airship/issues/61/events","html_url":"https://github.com/helium/airship/pull/61","id":111111377,"number":61,"title":"Allow resourceToWaiT to return wai Response","user":{"login":"charleso","id":31059,"avatar_url":"https://avatars.githubusercontent.com/u/31059?v=3","gravatar_id":"","url":"https://api.github.com/users/charleso","html_url":"https://github.com/charleso","followers_url":"https://api.github.com/users/charleso/followers","following_url":"https://api.github.com/users/charleso/following{/other_user}","gists_url":"https://api.github.com/users/charleso/gists{/gist_id}","starred_url":"https://api.github.com/users/charleso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charleso/subscriptions","organizations_url":"https://api.github.com/users/charleso/orgs","repos_url":"https://api.github.com/users/charleso/repos","events_url":"https://api.github.com/users/charleso/events{/privacy}","received_events_url":"https://api.github.com/users/charleso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-13T05:55:08Z","updated_at":"2015-10-15T00:36:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/helium/airship/pulls/61","html_url":"https://github.com/helium/airship/pull/61","diff_url":"https://github.com/helium/airship/pull/61.diff","patch_url":"https://github.com/helium/airship/pull/61.patch"},"body":"As mentioned previously this is how [scotty](https://github.com/scotty-web/scotty/blob/c05bcdd0e401019bac654ed5081a498a6fed97fd/Web/Scotty/Trans.hs#L101) works. For us it's a way to convert `Db Response` to `IO Response` where we can convert resulting to a different `Response`. With the natural transformation this isn't possible and limits the use of `run`.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/helium/airship/issues/comments/148241599","html_url":"https://github.com/helium/airship/pull/61#issuecomment-148241599","issue_url":"https://api.github.com/repos/helium/airship/issues/61","id":148241599,"user":{"login":"reiddraper","id":200355,"avatar_url":"https://avatars.githubusercontent.com/u/200355?v=3","gravatar_id":"","url":"https://api.github.com/users/reiddraper","html_url":"https://github.com/reiddraper","followers_url":"https://api.github.com/users/reiddraper/followers","following_url":"https://api.github.com/users/reiddraper/following{/other_user}","gists_url":"https://api.github.com/users/reiddraper/gists{/gist_id}","starred_url":"https://api.github.com/users/reiddraper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reiddraper/subscriptions","organizations_url":"https://api.github.com/users/reiddraper/orgs","repos_url":"https://api.github.com/users/reiddraper/repos","events_url":"https://api.github.com/users/reiddraper/events{/privacy}","received_events_url":"https://api.github.com/users/reiddraper/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T00:36:01Z","updated_at":"2015-10-15T00:36:01Z","body":"I like this -- ready to merge if you are @charleso."}}