{"action":"opened","issue":{"url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/103","repository_url":"https://api.github.com/repos/ajagnanan1/resto-1","labels_url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/103/comments","events_url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/103/events","html_url":"https://github.com/ajagnanan1/resto-1/issues/103","id":299230242,"number":103,"title":"Merging schemas","user":{"login":"ajagnanan1","id":17330249,"avatar_url":"https://avatars0.githubusercontent.com/u/17330249?v=4","gravatar_id":"","url":"https://api.github.com/users/ajagnanan1","html_url":"https://github.com/ajagnanan1","followers_url":"https://api.github.com/users/ajagnanan1/followers","following_url":"https://api.github.com/users/ajagnanan1/following{/other_user}","gists_url":"https://api.github.com/users/ajagnanan1/gists{/gist_id}","starred_url":"https://api.github.com/users/ajagnanan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajagnanan1/subscriptions","organizations_url":"https://api.github.com/users/ajagnanan1/orgs","repos_url":"https://api.github.com/users/ajagnanan1/repos","events_url":"https://api.github.com/users/ajagnanan1/events{/privacy}","received_events_url":"https://api.github.com/users/ajagnanan1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T05:50:19Z","updated_at":"2018-02-22T05:50:19Z","closed_at":null,"author_association":"OWNER","body":"#223 Issue by __xpepermint__\n\nI work on a huge project. To ensue project's long-term maintainability we decided to split the application into 3 standalone pieces thus we now have 3 specialized teams. Each app exposes its own GraphQL schema. At the end we plan to create the 4th app which will merge all 3 pieces together into a `gateway` application using the `express-graphql` package.\n\n**What is the best way to merge schemas?** What we would need is a mechanism similar to [Express Router](http://expressjs.com/guide/routing.html). Our current plan is to make all 3 apps available as private packages from which we can build a new schema for the main (4th) app. Well, we could make each app act as a standalone private graphql server and then the main application would just send requests to sub-apps but I believe it could potentially represent a huge overhead. Am I wrong? \n\nAre there any plans for supporting this? What do you suggest? How do you handle this at Facebook?\n"}}
{"actor":{"display_login":"ajagnanan1"}}