2.0.0 • Published 2 years ago
@arbendium/graphql-middleware v2.0.0
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.