A weekly newsletter of the best news, articles and projects about GraphQL

GraphQL Foundation Library Updates

Adding generics to DocumentNode and Source to allow TypeScript type inference

@dotansimha from The Guild had recently implemented an improved version of DocumentNode, called TypedDocumentNode, that allows type generics for result type and variable type and contributed it to graphql-js. This improved version allows TypeScript to infer the types automatically when an object that matches the signature is used.

TypeScript Migration Progress in graphql-js

Follow along with the issue and help us with the upcoming migration.

Official reference vscode-extension

vscode-graphql, which uses the official GraphQL Language Server, has now become the official reference vscode extension! Like GraphiQL, we will work to ensure all new spec language features are introduced here. After making the announcement we gained 30,000 new users! This blog post will tell you more about all the new features.