~/talk

Improving User Experiences with a Nullable Schema

Talkat GraphQLConf 2023 · on Thursday, 2023-09-21· at 15:40· Grand Peninsula A,B,C· [graphql]
slides:none on file

A clear claim: marking fields non-null causes cascading failures when a downstream service (example: a split-out prices API) fails and null bubbling turns every book query into null. The practical fix is client-side control: use Client Controlled Nullability or the required directive to mark per-view requirements, and transform server schemas on the client with graphql-tools/wrap/stitch to produce an incremental nullable schema. Migrate type-by-type, wait for client updates, and prefer nullable defaults so UIs degrade gracefully instead of fully failing.

AI-written summary · about

  1. 0:00Introduction to nullability
  2. 1:15Designing the initial schema
  3. 3:21Risks of rigid schemas
  4. 6:36Client-side requirements
  5. 9:48Managing nulls in queries
  6. 14:23Incremental migration strategy
  7. 19:10Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.