~/talk

Writing Queryable API's with GraphQL

Talkat JNation 2022 · on Tuesday, 2022-06-07· [graphql]
links:none on file
slides:none on file

Converts an existing REST movie API into a GraphQL API using Quarkus dev mode and MicroProfile GraphQL, replacing two endpoints with a single schema and supporting both a dynamic and typesafe client. Implements source fields for nested fetching (returns the top three actors — Tom Cruise, Val Kilmer, Miles Teller), map support as key/value lists, mutations that update ratings (example rating moves from 9.4 to 8.3 and later 7.7), subscriptions over websockets via Mutiny Multi, non‑blocking Uni responses, and Keycloak OpenID Connect security.

AI-written summary · about

  1. 0:00Start
  2. 1:41Convert It to Graphql
  3. 2:11Overview
  4. 3:14The over Fetching and under Fetching Problem
  5. 5:01Rest Api
  6. 10:17Three Types of Graphql Operations Queries Mutations and Subscriptions
  7. 17:48Dynamic Graphql Client
  8. 20:11Typesafe Client Class
  9. 27:55Nested Parameter Annotations
  10. 29:08Support for Maps
  11. 32:14Mutations
  12. 36:17Subscription
  13. 44:20Security
  14. 44:54Add a Security Provider
  15. 50:21Is There a Tool That Helps You Fetch Data from the Database More Efficiently
  16. 51:10Roadmap
~/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.