Open
Description
In #42, @teh and I both agreed that we should ideally not be checking for schema validity while we are resolving values.
The difficulty is that we need to construct values from the type-level schema in order to do the work of resolution.
The solution, as I see it, is to construct a value-level representation of the schema before resolving and to pass that as a parameter to buildResolver
. As we traverse down the selection set that represents the user query, we would also traverse down the value-level schema, shucking off the top-most layer.