~/talk

Write better queries & mutations

Talkat GraphQL Summit 2022 · 2022-10-03..10-05· [graphql, api-design]
links:none on file
slides:none on file

Advocates designing queries and mutations as functions: use single required input to reduce call permutations (example reduces nine possible calls to one), pick descriptive names so intent is documented, and prefer finer-grain updates like updateUserEmail with required inputs. Use custom scalars (email) and enums to narrow types, require inputs and minimize nullable inputs, but make output fields nullable to preserve schema evolution. When generalizing, provide sensible defaults and avoid overly generic names to keep client overhead low.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Less overhead
  3. 3:05Mutations
  4. 3:53Custom Scalars
  5. 4:10Use enums
  6. 5:04Summary
~/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.