0.1.4 • Published 7 months ago

@ersanyamarya/apollo-graphql-helper v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
7 months 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

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.0.9

9 months ago

0.1.4

7 months ago

0.0.5

9 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

1 year ago