Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GraphQL - how we use it
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yehor Kisilov
August 11, 2021
41
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GraphQL - how we use it
Brief talk about GraphQL technology, how we use it at BetterMe and our plans.
Yehor Kisilov
August 11, 2021
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
We Have a Design System, Now What?
morganepeng
55
8.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Transcript
Yehor Kisilov, iOS Engineer @ BetterMe GraphQL How we use
it?
Origin • Introduced by Facebook in 2012, public release in
2015 • GraphQL Foundation in 2018, hosted by Linux Foundation
Reasons • Multiple requests causing app performance problems • Data
overfetching • Backend-Frontend coupling
Components
Components • Schemas and Types • Queries and Mutations
Components Schemas and Types
Components Queries
Components Mutations
Pros and Cons
Pros • Declarative • Strongly typed • Introspective • Versioning
Pros Declarative data fetch
Pros Strongly typed • De fi ne the data structure
and the information that can be consumed • De fi nitions are written down in a Schema
Pros Introspection • Fetch schema using HTTP client • Valid
queries and data models on a spot • Documentation
Pros Versioning
Cons • Lack o ff built-in caching • Query complexity
• Maximum depth of query
How it works
Backend. How it works Technologies • Go • GQLGen for
GraphQL layer generation • Neo4J graph database platform
Backend. How it works Performance and security • Batch data
loading • Cyclomatic query complexity check • Data validation • Error handling
Client side. How it works • Feature development starts with
schema • Documentation • Code generation for requests • Error handling
Client side. How it works Documentation • Stored within schema
• Up-to-date according to current schema
Client side. How it works Code generation for requests •
Inspired by graphql-code-generator@github Schem a + Operations ➡
Client side. How it works Error handling • Multiple errors
in response • Custom validation and status codes • Handle each error individually
Next steps
Next steps Persistent queries
Next steps Apollo GraphQL Studio