Francielle offers a beginner-friendly introduction to GraphQL queries, explaining how to construct and execute them. It covers the basics of selecting fields, passing arguments, using aliases and fragments, and handling errors. The author also provides practical examples and tips to help readers get started with writing their own queries.
Jens analyzes the growth of GraphQL, REST, and OpenAPI from 2019 to 2023 based on several data sources and surveys. It compares these technologies' adoption rates and preferences among developers, organizations, and industries and identifies key factors driving their usage. The article also highlights some challenges and opportunities in the API landscape and predicts that GraphQL and OpenAPI will continue to gain momentum in the coming years.
The escape team discusses the pros and cons of disabling introspection in GraphQL, a feature that allows clients to query the schema of an API. The author explains why some developers may want to turn off introspection for security or performance reasons and outlines the potential drawbacks of doing so, such as hindering API testing and client development. The article also suggests alternative approaches to mitigate the risks of exposing sensitive schema information.
Tools & Open Source
The urql team just released the v4 version of their GraphQL client. This release includes their new documentation based on TSDocs, a rewrite of their default fetch/HTTP transport, updates to their Persisted Queries and File Upload logic, as well as their switch to @0no-co/graphql.web, which drastically reduces the bundle size.
The GraphQL Foundation is excited to announce the first event in the official GraphQL Conference series will be held September 19th-21st in San Francisco, CA. GraphQLConf is committed to bringing the entire GraphQL community together to learn, collaborate, and advance the state of GraphQL as an open ecosystem. The three-day event includes workshops, keynote sessions with an amazing lineup of featured speakers, and a multi-track session format powered by the GraphQL Community. Event registration and the CFP are open now. Register early to take advantage of the Early Bird rate and get your best talk and workshop ideas submitted through the CFP!
HTTP, WebSockets, Server-Sent Events. This talk by Denis was given at GraphQL Zurich and explains the various transports available for GraphQL services, efforts related to standardizing them, and libraries that help you get started.