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)


Resolver cache ”