UNPKG

@graphless/gcloud

Version:

GraphQL Framework for Serverless (Google Cloud Functions)

12 lines (10 loc) 366 B
const { ApolloServer, gql } = require("apollo-server-cloud-functions"); const { registerGraphFunctions } = require("@graphless/core"); const federation = require("@apollo/federation"); const gateway = require("./gateway"); module.exports = { registerGraphFunctions: registerGraphFunctions(gateway()), ApolloServer: ApolloServer, gql: gql, ...federation, };