Skip to content

Commit

Permalink
Update async.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremySkinner committed Jun 3, 2022
1 parent f38b73c commit 87eb303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ var result = await validator.ValidateAsync(customer);
.. warning::
If your validator contains asynchronous validators or asynchronous conditions, it's important that you *always* call `ValidateAsync` on your validator and never `Validate`. If you call `Validate`, then your asynchronous rules *will be run synchronously*, which is not desirable.
You should not use asynchronous rules when `using automatic validation with ASP.NET <aspnet.html>`_ as ASP.NET's validation pipeline is not asynchronous. If you use asynchronous rules with ASP.NET's automatic validation, they will always be run synchronously.
You should not use asynchronous rules when `using automatic validation with ASP.NET <aspnet.html>`_ as ASP.NET's validation pipeline is not asynchronous. If you use asynchronous rules with ASP.NET's automatic validation, they will always be run synchronously (10.x and older) or throw an exception (11.x and newer).
```

0 comments on commit 87eb303

Please sign in to comment.