Skip to content

Instantly share code, notes, and snippets.

@eduardojmatos
Created January 21, 2018 01:55
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 eduardojmatos/0543af3c88736de7a50b3be39248fb72 to your computer and use it in GitHub Desktop.
Save eduardojmatos/0543af3c88736de7a50b3be39248fb72 to your computer and use it in GitHub Desktop.
import graphqlTools from 'graphql-tools';
const schemaBuilder = async fetcher => graphqlTools.makeRemoteExecutableSchema({
schema: await graphqlTools.introspectSchema(fetcher),
fetcher,
});
export default schemaBuilder;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment