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

Articles

Supercharge Your App: Real-Time Updates with GraphQL Subscriptions 🚀💡

In "Supercharge Your App: Real-Time Updates with GraphQL Subscriptions", the author explores how to leverage GraphQL subscriptions to deliver real-time updates in modern applications. By using WebSockets and GraphQL's subscription feature, developers can establish bidirectional communication between clients and servers, enabling instant notifications and seamless updates without requiring full-page reloads. The article delves into best practices for implementing subscriptions in a scalable and efficient manner, ensuring that users receive timely information without compromising app performance or stability.

Using Data Loaders for Efficient GraphQL Queries in NestJS

In "Using Data Loaders for Efficient GraphQL Queries in NestJS", author Kelisha Patel demonstrates how to optimize GraphQL queries using data loaders in a NestJS application. By implementing data loaders, developers can efficiently batch and cache data requests, reducing unnecessary database queries and improving overall performance. The article provides a step-by-step guide on integrating data loaders with the `@nestjs/graphql` package, showcasing how this approach can significantly enhance query efficiency and scalability in GraphQL-based applications.

GraphQL security: 7 common vulnerabilities and how to mitigate the risks

In "GraphQL Security: 7 Common Vulnerabilities and How to Mitigate the Risks", Agata Witkowska highlights critical security concerns associated with GraphQL APIs. The article identifies seven common vulnerabilities, including query exhaustion, schema exposure, and authentication bypass, which can compromise the integrity and confidentiality of sensitive data. To mitigate these risks, developers are advised to implement robust access control mechanisms, validate user input, and regularly review and update their GraphQL schemas to ensure they remain secure and compliant with evolving security standards.

Bulletproof GraphQL polling

In "Bulletproof GraphQL Polling", Sophia Willows presents a robust approach to implementing polling in GraphQL applications, addressing common pitfalls and limitations. The article highlights the importance of properly handling query intervals, caching, and timeouts to ensure seamless updates and minimize unnecessary requests. By leveraging techniques such as exponential backoff and queueing, developers can create more efficient and scalable polling mechanisms that maintain a healthy balance between real-time data delivery and server resource utilization.

Events

GraphQL Conf 2024 is happening next month at San Francisco!

GraphQL Conf 2024 is happening in one month! This year is better than ever. Notable talks: A panel about the future of Federation from Apollo, ChilliCream and The Guild, talks about how Meta scales GraphQL, How GraphQL is used by the House of Representatives and many exciting hands-on workshops! Packed schedule by speakers from Meta, Apollo GraphQL, IBM, Intuit, Google, Netflix, Pinterest, Atlassian, booking.com, Toast, Hasura, Wundergraph, ChilliCream, The Guild, and others. Get your ticket today!

Feeling nerdy? Query issues of GraphQL Weekly, with GraphQL itself!
Powered by the GraphQL Playground
Enter a query
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  allIssues {
    id
    title
    published
    number
    date
    author {
      avatarUrl
      description
      name
    }
  }
}
or press CMD + Enter
Result
Curated by Stellate, and the awesome GraphQL community.