~/talk

Understanding End-to-End Type Safety for Our Backends

TalkinRussianat PiterPy 2024 · 2024-09-18..09-27· [api-design, frontend-architecture]
links:none on file
slides:none on file

Discusses end-to-end type safety for JavaScript REST backends as an alternative to switching to GraphQL. Covers the mismatch of fields and types between frontend and backend, existing JS solutions like tRPC that share models and IDE types/autocomplete, and presents practical approaches including a custom script-based converter and watcher to generate and keep REST API types in sync.

AI-written summary · about

  1. 0:00Introduction
  2. 2:20What is Type Safety
  3. 3:47Schema mismatch problem
  4. 5:13Frontend backend model
  5. 6:14Breaking changes compatibility
  6. 9:26GraphQL Type Safety limits
  7. 11:33gRPC Web alternative
  8. 13:19Code First approach
  9. 16:31Code First benefits
  10. 18:14tRPC for Type Safety
  11. 21:44Python Type Safety
  12. 22:27OpenAPI TypeScript generator
  13. 25:15OpenAPI TypeScript pros cons
  14. 26:40OpenAPI Zod generator
  15. 28:52OpenAPI Cent generator
  16. 29:34React Query generator
  17. 31:01Solution comparison
  18. 33:08Q&A
~/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.