~/talk

The Path to Generic Endpoints using Shapeless

Talkat Scala.IO 2017 · 2017-11-02..11-03· [developer-experience]
slides:none on file

Goal is a single generic update endpoint for Guardian content atoms so field-level edits avoid overwrite conflicts; building hundreds of endpoints is untenable and new atoms cost ~2 months each. Experiment uses Shapeless to convert nested case classes to HLists and then to nested maps via a toMapRec type class and a reverse fromMap conversion, producing a working PR that lacks type safety, then gets replaced by an implementation in Circe for the Atom Workshop and completes in about an hour.

AI-written summary · about

  1. 0:00Intro
  2. 1:08Content Atoms
  3. 2:14Atom Workshop
  4. 4:56Shapeless
  5. 6:17First approach
  6. 8:12Second approach
  7. 9:27Type Classes
  8. 11:11Class to map
  9. 13:24Map to class
~/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.