@arbendium/graphql-middleware
v2.0.0
Published
An Express middleware for GraphQL. Based on the original [express-graphql](https://www.npmjs.com/package/express-graphql) but heavily simplified and up-to-date. Together with GraphiQL with modern websocket support.
Readme
An Express middleware for GraphQL. Based on the original express-graphql but heavily simplified and up-to-date. Together with GraphiQL with modern websocket support.
API
graphqlMiddleware({ schema, execute })Arguments
schema- a GraphQL schema.execute- a GraphQL execute function; this is mostly like an application-specific wrapper around GraphQL's ownexecutefunction.
For more information about these arguments and GraphQL overall, see graphql-js library.
