Overview:
The document discusses the deprecation of express-graphql, the first official implementation of using GraphQL with HTTP, in favor of graphql-http. graphql-http is now the official reference implementation of the GraphQL over HTTP spec, catering to users and library authors.
Features:
- Official Reference Implementation: graphql-http is the new reference implementation for the GraphQL over HTTP spec.
- Spec Compliance: Strict adherence to the specification without additional features like file uploads, @stream/@defer directives, and subscriptions.
- For Users: Intended for those who need a standard implementation of GraphQL over HTTP without advanced features.
Installation:
For library authors and those looking for a basic GraphQL over HTTP implementation, consider using graphql-http as the official reference. To get started, you can install graphql-http by running the following command in your terminal:
npm install graphql-http
Summary:
The document highlights the deprecation of express-graphql and the emergence of graphql-http as the official reference implementation for GraphQL over HTTP. Users seeking a simple and compliant implementation can rely on graphql-http, while those requiring advanced features are recommended to explore other JavaScript GraphQL server options.