~/talk

Robust APIs with clojure.spec & GraphQL

Talkat Clojure/conj 2018 · 2018-11-29..12-01· [graphql, typescript]
github:domkm
links:none on file
slides:none on file

Generates clojure.spec definitions automatically from a GraphQL schema, then extends them to express constraints GraphQL cannot (e.g. positive/limited pagination, formatted emails), uses those specs for client-side validation, resolver input/output checking, generative testing and mocking, and to produce runnable spec files for large APIs (example: GitHub produced 5446 specs). The library serene integrates with clojure.spec, is usable on both client and server, and the presenters show it working end-to-end and publish the code on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 2:59Systemic Generality
  3. 4:08clojure & spec
  4. 4:24general & specific
  5. 31:185446 specs
~/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.