Skip to content

Commit ab7fa09

Browse files
authored
Merge pull request #3693 from fecfecfec/patch-1
Minor spelling mistake fixed.
2 parents 7bd638f + 744972b commit ab7fa09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/8/en/part8c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Person.find({ phone: { $exists: false }})
158158

159159
### Validation
160160

161-
As well as in GraphQL, the input is now validated using the validations defined in the mongoose schema. For handling possible validation errors in the schema, we must add an error-handling *try/catch* block to the *save* method. When we end up in the catch, we throw a exception [GraphQLError](https://www.apollographql.com/docs/apollo-server/data/errors/#custom-errors) with error code :
161+
As well as in GraphQL, the input is now validated using the validations defined in the mongoose schema. For handling possible validation errors in the schema, we must add an error-handling *try/catch* block to the *save* method. When we end up in the catch, we throw an exception [GraphQLError](https://www.apollographql.com/docs/apollo-server/data/errors/#custom-errors) with error code :
162162

163163
```js
164164
Mutation: {

0 commit comments

Comments
 (0)