~/talk

Building APIs you want to hug with GraphQL

Talkat RubyConf AU 2019 · on Friday, 2019-02-08· [ruby, graphql]
slides:none on file

Argues for schema-first GraphQL design using the graphql-ruby gem, models a Dungeons & Dragons domain (5th ed rulebook, 316 pages) to show concrete types: playerCharacter, race, playerClass, and an ability_score node; recommends non-null scalars and enums, prototyping resolvers without persistence, keeping fields minimal, moving business logic server-side, and running graph modeling sessions with domain experts. Shows a working schema-driven prototype that proves easier evolution and cross-discipline collaboration.

AI-written summary · about

  1. 0:00Start
  2. 5:10Building huggable APIs.
  3. 5:31Good Schema Design.
  4. 9:47Model Relationships.
  5. 14:08Use enums for fields with a fixed set of allowed values.
  6. 16:31Think use-cases.
  7. 18:19Thinking in Graphs.
  8. 18:52Modelling your own domains.
  9. 19:28Keep the scope small.
  10. 19:49Model the domain, not the feature.
  11. 20:13Involve Domain Experts.
~/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.