question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Docs] Please document AutomaticValidationEnabled property

See original GitHub issue

Is your feature request related to a problem? Please describe.

I found the AutomaticValidationEnabled property, but there’s no explanation anywhere as to its use or purpose. (i.e. How does FV behavior change when this property is on / off.)

I searched the docs site, github issues, StackOverflow and Google.

Describe the solution you’d like

Please consider adding a section to the docs explaining when/why it should be used.

Describe alternatives you’ve considered

No response

Additional Context

It might take a while until this is formally documented. In the meantime, if someone wouldn’t mind a brief/simple explanation for this option, that would be really appreciated… thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JeremySkinnercommented, Oct 9, 2021

0e45f4ef

1reaction
JeremySkinnercommented, Aug 25, 2021

Scanning is available in FluentValidation.DependencyInjectionExtensions (a slightly lower level library; the scanning in the AspNetCore package just wraps this)

In which case, what motivated you to add this property - what is the use case for FluentValidation.AspNetCore with AutomaticValidationEnabled disabled?

so you can combine the clientside validation integration with manual server side validation

Read more comments on GitHub >

github_iconTop Results From Across the Web

ASP.NET Core — FluentValidation documentation
Automatic validation. With manual validation, you inject the validator into your controller (or api endpoint), invoke the validator and act upon the result....
Read more >
ASP.NET Core Integration for FluentValidation
When you enable automatic validation, FluentValidation plugs into the validation pipeline that's part of ASP.NET Core MVC and allows models to be validated ......
Read more >
FluentValidation — FluentValidation documentation
For automatic validation with ASP.NET, FluentValidation supports ASP.NET running on .NET Core 3.1, .NET 5 or .NET 6. If you're new to using...
Read more >
Validation with the Data Annotation Validators (C#)
In this tutorial, you learn how to use the Data Annotation validators to perform validation in an ASP.NET MVC application. The advantage of ......
Read more >
Part 9, add validation to an ASP.NET Core MVC app
Having validation rules automatically enforced by ASP. ... The DataType attribute can enable MVC to choose the right field template to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found