Skip to content

Instantly share code, notes, and snippets.

@jbaxleyiii
Last active May 28, 2019 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaxleyiii/c9216b55b0bbaf70308a30c4d24cce73 to your computer and use it in GitHub Desktop.
Save jbaxleyiii/c9216b55b0bbaf70308a30c4d24cce73 to your computer and use it in GitHub Desktop.
const { ApolloGateway } = require("@apollo/gateway");
const gateway = new ApolloGateway({
serviceList: [
{ name: "accounts", url: "https://pw678w138q.sse.codesandbox.io/graphql" },
{ name: "reviews", url: "https://0yo165yq9v.sse.codesandbox.io/graphql" },
{ name: "products", url: "https://x7jn4y20pp.sse.codesandbox.io/graphql" },
{ name: "inventory", url: "https://o5oxqmn7j9.sse.codesandbox.io/graphql" }
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment