How to use the @apollo/gateway.LocalGraphQLDataSource function in @apollo/gateway

To help you get started, we’ve selected a few @apollo/gateway examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TheBrainFamily / federation-testing-tool / index.js View on Github external
function buildLocalService(modules) {
  const schema = buildFederatedSchema(modules);
  return new LocalGraphQLDataSource(schema);
}