Tools & Open Source
In this article, Vampiire walks through a simple enhancement you can add to GraphQL resolvers interacting with your database via Sequelize. He explains that by using the info object from a resolver, you can map those incoming fields in your GraphQL query to your database query. Overall he saw a 94% reduction in database load for these type of resolvers. Check it out!
In this article from David Mráz explains a common threat model in GraphQL applications. Potential attackers could make complex queries that could put tremendously load on your servers. David explains some awesome tips to secure your GraphQL server from potential attackers.
The GraphQL Glossary is a handy cheat sheet to help provide an accessible reference for learning GraphQL. The FAQ is for engineers who need answers to problems that you come across when building GraphQL applications. It’s a living guide and will constantly be updated as more product teams experience GraphQL.
In this episode of JS Party, John Resig explains the evolution of front-end architecture at Khan Academy. He talks a lot about the growth of front-end systems at Khan Academy from REST to GraphQL. Jerod and Suz talk with John about his experiences with GraphQL at Khan Academy, some of the mistakes and successes using GraphQL, his feelings on jQuery, and community Q&A.