This is the second step of moving work from type constructors to the schema validation function. ref: graphql/graphql-js#1132