~/talk

GraphQL and Rails beyond HTTP APIs

Talkat RailsConf 2022 · 2022-05-17..05-19· [ruby-on-rails, web-platform]
links:none on file
slides:none on file

GraphQL runs outside HTTP and executes in controllers, jobs, or stored queries so Rails can use it as a structured data layer. Concrete patterns: let clients choose webhook payloads so a single webhook carries passenger IDs and avoids extra requests; run client-supplied logic as WebAssembly on the server to remove client webhook servers; split large exports into background book operations that parallelize pagination (5,000 passengers at page size 50 becomes ~100 subjobs) and produce a downloadable JSON.

AI-written summary · about

  1. 0:00GraphQL beyond HTTP APIs
  2. 1:48GraphQL vs REST
  3. 2:13Space Trips API demo
  4. 4:02First GraphQL query
  5. 5:50Variables for queries
  6. 8:23GraphQL without HTTP
  7. 10:13Webhooks with GraphQL
  8. 13:07Custom webhook payloads
  9. 15:36Client code with WebAssembly
  10. 18:50Server-side WebAssembly
  11. 20:15Book operations exports
  12. 22:45Pagination with background jobs
  13. 25:20GraphQL use cases summary
~/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.