~/talk

Type safe GraphQL with TypeScript

Talkat NDC Melbourne 2022 · 2022-06-20..06-24· [typescript, graphql]
slides:none on file

Builds a trivia API schema (games, players, questions, answers) and uses Apollo Server on Azure Functions plus React clients; runs graphql-code-generator to produce TypeScript models and TypeScript resolver types so resolvers, context and data sources are strongly typed. Shows mapping between DB shapes (snake_case, extra fields) and public schema, generates resolver signatures and client operation types, and wires them into React hooks. Demos hit local runtime and Docker hiccups but the generated end‑to‑end typing approach works.

AI-written summary · about

  1. 0:00Start
  2. 2:01What Is Graphql
  3. 7:07Graphql
  4. 10:45Graphical Schema
  5. 14:43Apollo Studio
  6. 25:40Resolvers
  7. 32:48Data Access
  8. 33:05Apollo Context
  9. 33:24Dependency Injections
  10. 34:33Graphql Code Gen
  11. 38:57Translation Layers
  12. 41:00Typed Graphql
  13. 42:51Type Graphql
  14. 43:31Type First Approach
  15. 46:25Runtime Error
  16. 52:11Typescript Type Definitions
  17. 54:49Graphql Code Generator
  18. 55:11Graphql with Azure
  19. 55:39Authentication
~/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.