Skip to content

Commit 74c3d93

Browse files
Update pipes.md
1 parent 3c48638 commit 74c3d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/pipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ We leave the implementation of this pipe to the reader, but note that like all o
446446

447447
#### Providing defaults
448448

449-
`Parse*` pipes expect a parameter's value to be defined. They throw an exception upon recieving `null` or `undefined` values. To allow an endpoint to accept parameter absence in queries we have to provide a default value which would get injected before `Parse*` pipes operate on these values. The `DefaultValuePipe` was introduced into Nest for that purpose.
449+
`Parse*` pipes expect a parameter's value to be defined. They throw an exception upon receiving `null` or `undefined` values. To allow an endpoint to accept parameter absence in queries we have to provide a default value which would get injected before `Parse*` pipes operate on these values. The `DefaultValuePipe` was introduced into Nest for that purpose.
450450

451451
```typescript
452452
@@filename()

0 commit comments

Comments
 (0)