diff --git a/docs/source/schema-directives.md b/docs/source/schema-directives.md index 8c2b9e27ccb..6d6e54d1bda 100644 --- a/docs/source/schema-directives.md +++ b/docs/source/schema-directives.md @@ -485,7 +485,7 @@ class LimitedLengthType extends GraphQLScalarType { value = type.serialize(value); assert.isAtMost(value.length, maxLength); return value; - } + }, parseValue(value) { return type.parseValue(value);