~/talk

Building Relay Spec Compliance in Federation

Talkat GraphQL Scale 2022 · 2022-11-15..11-16· [graphql]
slides:none on file

Describes how to make Relay’s connection and global object-identification rules work inside Apollo Federation by adding a dedicated node resolver that decodes opaque IDs, returns entity references and lets the gateway call subgraphs via entities. Shows IDs encoded as base64 TypeName:JSON(keyFields) so global uniqueness holds across services, explains cursor ordering for connections, and gives numbers (Wayfair runs >9 million product listings). Announces open source libraries node-freud (JS) and a Java port, supports Apollo contracts, handles nested keys and optional encryption callbacks.

AI-written summary · about

  1. 0:00Relay spec compliance in Federation
  2. 2:10Relay’s connection specification
  3. 4:36Object identification in monoliths
  4. 10:12Object ID challenges in Federation
  5. 12:38Implementing object ID in Federated graphs
  6. 14:23Live demo: Federated node queries
  7. 18:39Introducing nodeFreud for Federation
  8. 20:24Relay spec adoption benefits
  9. 21:26Q&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.