Skip to content

Commit

Permalink
Fixed wrong spelling in the comment (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
utsxumiao committed Feb 24, 2020
1 parent 86c701a commit 21da85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/transform.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Transforming Values

As of FluentValidation 9.0, you can use the `Transform` method to transform a property value prior to validation being performed againt it. For example, if you have property of type `string` that atually contains numeric input, you could use `Transform` to convert the string value to a number.
As of FluentValidation 9.0, you can use the `Transform` method to transform a property value prior to validation being performed against it. For example, if you have property of type `string` that atually contains numeric input, you could use `Transform` to convert the string value to a number.


```csharp
Expand Down Expand Up @@ -33,4 +33,4 @@ RuleFor(x => x.SomeStringProperty)
```eval_rst
.. note::
FluentValidation 8.x supported a limited version of the Transform method that could only be used to perform transformations on the same type (eg if the property is a string, the result of the transformation must also be a string). FluentValidation 9.0 allows transformations to be performed that change the type.
```
```

0 comments on commit 21da85c

Please sign in to comment.