Content Deep Dive
The why of GraphQL Client Side Nullability in Examples
Blog post from Hasura
Post Details
Company
Date Published
Author
Akshaya Acharya
Word Count
1,137
Language
English
Hacker News Points
-
Summary
The text discusses the concept of client side nullability in GraphQL and how it can be used to inform client component design through comprehensive examples. Client side nullability allows for better control over data fetching requirements, enabling developers to specify how errors or null values affect returned fields based on bubble-up logic. This feature is currently in the RFC stage and not yet supported by Hasura. However, it can be useful in federated setups with multiple data sources across a network, allowing clients to account for partial failures when resolving data. The GraphQL spec continues to evolve to solve real problems that developers encounter.