Spoke last year
Not enough basics
That’s why it’s the prequel
Need to understand core
Lose spec from the framework
Use cases only at the end
Shape of a graph
Very flexible
Can write library in any language
Spec not the implementation
GraphQL is an API
Some projects obscure the distinction
Could be different languages
Over http
Will cover most if the basics
IDL – spec defines own language which is prog lang independent
Shared client and server; way to introspect
Usually defined in a file
Scalar – primitive; leaf node; implementation
Object – like OO
Can build complex
List- elements can be null or non null
Star Wars motif
ID type – String but opaque
Root types
Implement the ones you want
We will see example of schema
Mostly demo
First three happen at startup
Next two at request is processed
Everything is json
Now demo
Show its an http client
Help construct query
Caching
Authorization
Subscriptions
Integration FE componenets
Redux
Replacement or complimentary
Don’t use all verbs, one endpoint
Flexible – many at once; versioning
Pattern; not api gw; pattern for api gw or on top of