NodeJs graphql server that supports @defer , @stream
capabilities. Written with typescript.
Inspired by Building a GraphQL server with GraphQL Helix
exampleQuery.ts
demonstrate @defer
example with Fragments.
This examples constructs HTTP Multipart Response with express.
Used dependencies
- express
- graphql
- graphql-helix
- nexus
yarn
in root andserver
foldersyarn start
inserver
- http://localhost:8000/graphql will mount the
graphiql
interface to tryout queries