0.1.4 • Published 2 years ago

@ersanyamarya/apollo-graphql-helper v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

apollo-graphql-helper

This library was generated with Nx. It exports a function apolloServerPlugin and everything from ./error-handler.

The apolloServerPlugin function takes a GraphQL schema and an HTTP server as arguments, and returns a Promise that resolves to an ApolloServer instance. This function is used to start the Apollo Server with the provided schema and HTTP server.

The ./error-handler module likely contains utilities for handling errors in a GraphQL context.

Example usage:

import apolloServerPlugin from 'apollo-graphql-helper'

const schema = // your GraphQL schema
const httpServer = // your HTTP server

apolloServerPlugin(schema, httpServer).then(apolloServer => {
  // Apollo Server is now running
})

Running unit tests

Run nx test apollo-graphql-helper to execute the unit tests via Jest.

Running lint

Run nx lint apollo-graphql-helper to execute the lint via ESLint.

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.1.4

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago