GraphQLRequestHandler is an open and extendable class that contains the basic logic to get a
It requires a
GraphQLSchema and a DataLoaderRegistryFactory in the constructor.
For each request, it accepts a
GraphQLRequest and an optional GraphQLContext, and calls the
DataLoaderRegistryFactory to generate a new
Then all of these objects are sent to the schema for execution and the result is mapped to a
There shouldn't be much need to change this class but if you wanted to add custom logic or logging it is possible to override it or just create your own.