Skip to content

Commit e0ccca9

Browse files
authored
updated explanation of the ModelState Validation
1 parent 4ea7d44 commit e0ccca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ options.SerializerSettings.ContractResolver = new DasherizedResolver();
8181

8282
## Enable ModelState Validation
8383

84-
If you would like to use ModelState validation into your controllers when creating / updating resources you set `ValidateModelState = true`. The default behavior is to try creating the database entries.
84+
If you would like to use ModelState validation into your controllers when creating / updating resources you set `ValidateModelState = true`. By default, no model validation is performed.
8585

8686
```c#
8787
services.AddJsonApi<AppDbContext>(options => {

0 commit comments

Comments
 (0)