GraphQL and 200 Not OK
16 Jun 2020The GraphQL specification for errors when resolving a field state the following.
The GraphQL specification for errors when resolving a field state the following.
When we’re building an API we’re creating a contract between ourselves and our consumers. We should ideally make that contract as easier to understand as possible, this can help reduce support burden on the API team and empower the consumer to do more with the API.
A GraphQL service is made up for two parts, a schema and a collection of resolvers. The approaches for defining the schema will depend a lot on the capabilities library / framework you’re using to build the server. In general terms we can broadly categorise in to two categories schema-first and code-first.
I have a couple of upcoming speaking events I’d like to let you all know about.
I’ve been playing around with Windows Terminal for the last few weeks and been really impressed. In prevoius terminals and in VS Code lately I’ve had the Nord theme which while totally subjective looks pretty cool.