Validation called even with attribute "DisableValidation"
See original GitHub issueHi,
I’m calling an application service with some data (maybe 5000 occurences) as parameter.
[DisableValidation]
public async Task InsertList(List<MemberDto> members, GroupDto group)
{
// hehehe
}
Any idea why validation interceptor is called?
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
c# - Disable Required validation attribute under certain ...
I was wondering if it is possible to disable the Required validation attribute in certain controller actions. I am wondering this because on...
Read more >Disable validation for dto properties not working #4301
Hi, I have a Dto with a property name Guid, I want set this property in server side, so I set this attribute...
Read more >Disable Javascript based Field Validation by Salesforce
i am using inputField so even if i don't declare required attribute it will automatically mark it as required after checking it from...
Read more >Request Validation in ASP.NET
Request validation is a feature in ASP.NET that examines an HTTP request and determines whether it contains potentially dangerous content.
Read more >Custom Validation
DisableValidation attribute can be used for classes, methods or properties of DTOs to disable validation. EnableValidation attribute can only be used to enable ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @gabrielrobert for finding this bug. I fixed it.
Thank you for the information. I could not understand it’s reason, but will try.