1.1.5 • Published 7 years ago

@seangenabe/fastify-apollo-2 v1.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

fastify-apollo-2

A new take on Fastify and Apollo Server integration. Based on the official hapi plugin.

Usage

// Register GraphQL endpoint
fastify.register(require('@seangenabe/fastify-apollo-2'), {
  graphqlOptions: { schema },
  prefix: '/graphql'
})
// Registry GraphiQL endpoint
fastify.register(require('@seangenabe/fastify-apollo-2/graphiql', {
  graphiqlOptions: { endpointURL: '/graphql' },
  prefix: '/graphiql'
})

Reference:

1.1.5

7 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago