0.1.4 • Published 10 months ago

apollo-graphiql-playground v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

apollo-graphiql-playground

npm

Plugin for using GraphiQL playground inside an Apollo Server.

Example

import { ApolloServerPluginLandingPageGraphiQLPlayground } from 'apollo-graphiql-playground'

const server = new ApolloServer({
  plugins: [
    ApolloServerPluginLandingPageGraphiQLPlayground({
      shouldPersistHeaders: true,
    })
  ],
})

Options

  • url? (default: /graphql): Which URL should the playground should use.
  • shouldPersistHeaders?: Toggles if the contents of the headers editor are persisted in storage.
0.1.4

10 months ago

0.1.3

11 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago