0.3.0 • Published 4 years ago

apollo-server-restrict-introspection v0.3.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

apollo-server-restrict-introspection

Restrict types exposed by apollo-server's introspection/playground.

Installing

npm install apollo-server-restrict-introspection

Usage

See src/demo.ts and src/index.test.ts

Notes

  • You must use app.use(bodyParser.json()) before the middleware
  • You must declare the directive's type, exported as the string directiveTypeDef
  • The middleware must run before apollo-server's middleware

Author

Andreas Brekken (@abrkn)

License

MIT

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago