{"action":"created","issue":{"url":"https://api.github.com/repos/nestjs/nest/issues/54","repository_url":"https://api.github.com/repos/nestjs/nest","labels_url":"https://api.github.com/repos/nestjs/nest/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/nestjs/nest/issues/54/comments","events_url":"https://api.github.com/repos/nestjs/nest/issues/54/events","html_url":"https://github.com/nestjs/nest/issues/54","id":227753816,"number":54,"title":"Hapi and Koa integration","user":{"login":"ThomRick","id":7125222,"avatar_url":"https://avatars2.githubusercontent.com/u/7125222?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomRick","html_url":"https://github.com/ThomRick","followers_url":"https://api.github.com/users/ThomRick/followers","following_url":"https://api.github.com/users/ThomRick/following{/other_user}","gists_url":"https://api.github.com/users/ThomRick/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomRick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomRick/subscriptions","organizations_url":"https://api.github.com/users/ThomRick/orgs","repos_url":"https://api.github.com/users/ThomRick/repos","events_url":"https://api.github.com/users/ThomRick/events{/privacy}","received_events_url":"https://api.github.com/users/ThomRick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-10T17:25:45Z","updated_at":"2017-11-05T01:39:43Z","closed_at":"2017-05-11T11:53:51Z","author_association":"CONTRIBUTOR","body":"Express is a very great Node server library, but some project also use Hapi or Koa.\r\nDoes it a good idea to integrate them into Nest as adapters and let people choose the one they want / need ?"},"comment":{"url":"https://api.github.com/repos/nestjs/nest/issues/comments/341942732","html_url":"https://github.com/nestjs/nest/issues/54#issuecomment-341942732","issue_url":"https://api.github.com/repos/nestjs/nest/issues/54","id":341942732,"user":{"login":"wbhob","id":4442130,"avatar_url":"https://avatars0.githubusercontent.com/u/4442130?v=4","gravatar_id":"","url":"https://api.github.com/users/wbhob","html_url":"https://github.com/wbhob","followers_url":"https://api.github.com/users/wbhob/followers","following_url":"https://api.github.com/users/wbhob/following{/other_user}","gists_url":"https://api.github.com/users/wbhob/gists{/gist_id}","starred_url":"https://api.github.com/users/wbhob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbhob/subscriptions","organizations_url":"https://api.github.com/users/wbhob/orgs","repos_url":"https://api.github.com/users/wbhob/repos","events_url":"https://api.github.com/users/wbhob/events{/privacy}","received_events_url":"https://api.github.com/users/wbhob/received_events","type":"User","site_admin":false},"created_at":"2017-11-05T01:39:43Z","updated_at":"2017-11-05T01:39:43Z","author_association":"CONTRIBUTOR","body":"Again, @amitport though it is coupled with express, _it doesn't matter_. When you elect to use Nest, you must elect to use express, because it's the foundation of the house that Nest is built on; it handles HTTP, while Nest handles syntax sugar and developer experience.\r\n\r\nI realize that it is probably a pain to transition *all* your routes, but if you want to use Nest, it's one of the steps to getting there.\r\n\r\nIn terms of loose coupling in the snippet you provided, the loose coupling is between the frontend and backend, and between individual controllers, not between Nest and the underlying framework.\r\n\r\n@jhanschoo I imagine it would be fairly difficult to decouple Express and Nest, and to integrate Hapi or Koa, because all of those APIs are completely different, and maintaining three different forks of code that essentially do almost the same thing is needlessly laborious."}}
{"actor":{"display_login":"wbhob"}}