~/talk

Handling Nullability in GraphQL: Best Practices for Engineers

Talkat Apidays Paris 2023 · 2023-12-06..12-08· [graphql]
slides:none on file

GraphQL’s default “nullable by default” hides two different cases — network/error nulls and legitimate business (semantic) nulls — which breaks Kotlin’s non-null-by-default models and causes crashes (example: video uploads introduced no-title items that exploded generated Apollo Kotlin models). A GraphQL subworking group proposes concrete syntax and flags (examples: asterisk and tability) plus client/server negotiation; documentation and schema-level typing are practical mitigations. Outcome: prototypes and proposals exist but no universal standard yet, so handle nulls explicitly in schema and client code.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30The problem
  3. 6:26Nullable in GraphQL
  4. 9:48Client Error Handling
  5. 14:47The working group
  6. 17:55The asterisk
  7. 18:05The tability
  8. 19:44Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.