We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168570f commit dea6028Copy full SHA for dea6028
src/execution/execute.js
@@ -929,7 +929,6 @@ function completeListValue(
929
* null if serialization is not possible.
930
*/
931
function completeLeafValue(returnType: GraphQLLeafType, result: mixed): mixed {
932
- invariant(returnType.serialize, 'Missing serialize method on type');
933
const serializedResult = returnType.serialize(result);
934
if (isInvalid(serializedResult)) {
935
throw new Error(
0 commit comments