given that GraphQL is just a query language, we want a library that may care for the boilerplate code for us. Fortunately, this type of library by now exists.
The what and why of GraphQL: working with kinds, fields, https://codeniatechnologies.com/hire-developer/php