Over two years after the initial announcement, TypeGraphQL is now ready for its first stable release - v1.0.0. TypeGraphQL is a modern framework for creating GraphQL APIs with TypeScript and Node.js using only classes and decorators. In this announcement post, Michał Lytek –the author of TypeGraphQL– presents new features and changes in the stable release, covering aspects such as performance and new features.
Register to GraphQL In Space Con 2020 happening on September 10, 2020. It’s a free virtual event all about the cutting edge of everything GraphQL, bringing together the whole development community. It’s a one-day conference, with a line up of speakers from AWS, PayPal, Grapl, OneGraph, and many more. The fully-remote conference will be an intergalactic event that everyone can join from the comfort of your own spaceship (or bedroom, or hometown, or cabin in the woods).
Hasura, a tool for automatically creating GraphQL APIs on top of PostgreSQL introduced remote joins that allow federating data from different sources. In this short video, Vishwa Mehta shows how to establish a remote relationship with your Contentful schema in Hasura using Remote Joins. Check it out to learn more.
In this article, Leonardo explains the benefits of the Nexus Schema – a declarative, code-first, and strongly typed GraphQL schema construction library. He delves into the difficulties in building GraphQL APIs and the tradeoffs between approaches to designing a GraphQL schema, namely Code-first and SDL-first. The article also demonstrates the different aspects of code-first schema construction with Nexus Schema. Check it out to get a better understanding of the different approaches.
In this post, Mandi Wise goes on a tour of how authentication and authorization can be handled with a GraphQL API using Express and Apollo Server. Specifically, Mandi shows how to handle incoming JWTs in an Authorization header and pass that decoded data down the graph to resolvers. Additionally, how to keep authorization checks out of resolvers functions by abstracting them into a middleware layer. The post is based on the code Mandi demoed during GraphQL Summit 2020. You can find the link to the recording of the talk in the article.