~/talk

Validating and Comparing Objects with Runtime Types (io-ts)

TalkinUkrainianat JavaScript fwdays'24 conference · on Saturday, 2024-05-25· [typescript, testing]
links:none on file
slides:none on file

Shows common approaches for parsing, validating, and comparing JSON objects in modern JavaScript, then demonstrates how runtime types built with io-ts can simplify and speed up implementing those parsing/validation and comparison tasks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Types beyond app
  3. 3:34Unknown data handling
  4. 6:49Code generation issues
  5. 9:45Runtime types implementation
  6. 11:33io-ts features
  7. 13:22Runtime type creation
  8. 16:19Decoding and validation
  9. 17:24Custom types
  10. 20:13Schemas and interfaces
  11. 23:03Property-based testing
  12. 26:39Product comparison
  13. 27:44io-ts vs Zod
  14. 29:50Runtime types benefits
  15. 31:55FP basics
  16. 33:42Q&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.