Notes from GraphQL Contributor Days Nov'18
GraphQL Contributor Days is a community discussion event hosted by ThisDot and Hasura. In November 2018, the first event was held in San Francisco with participants from various companies such as Medium, Twitter, eBay, GitHub, Coursera, Netflix, Gatsby, PayPal, Docker, and others. The discussions covered topics like GraphQL & microservices, error handling in GraphQL, GraphQL in production (authorization, caching, security), GraphQL on the client, GraphQL subscriptions, sampling GraphQL, and miscellaneous discussions. Key points from the discussion include: - Different approaches to incorporating GraphQL with microservices were discussed, including automated gateways, monolithic services, and hybrid approaches. - Error handling in GraphQL was emphasized, suggesting modeling errors in the type system using union types. However, it was noted that this is a breaking change for clients and should be rolled out thoughtfully. - Practices around authorization, security, performance, caching, and other aspects of GraphQL in production were shared by different teams. - Client-side state management with Redux vs apollo-link-state was discussed, with some teams preferring local component state or using a parent component to manage state. - Relay's ideas for handling cache updates and query optimization were considered interesting but not widely adopted due to its opinionated nature. - GraphQL subscriptions are still not commonly used, but there is interest in live queries and the @live and @defer tags.
Company
Hasura
Date published
Feb. 2, 2019
Author(s)
Tanmai Gopal
Word count
1825
Hacker News points
None found.
Language
English