This is my introduction to graphQL, and at the moment just a dump of working code

Setup some data

Setup our type Defs

Setup our resolvers

Make a executable Schema

Setup route and enable graphiql

Test out some calls

which gives us this result

In the real world we will have to make calls to the database, which would cause Nulls being passed around, so lets add in some async await to test (Author for now)

and

Resolver cache ” https://www.youtube.com/watch?v=BM4_IvSjRYw

https://medium.com/paypal-engineering/graphql-resolvers-best-practices-cd36fdbcef55

https://medium.com/paypal-engineering/graphql-resolvers-best-practices-cd36fdbcef55