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.

Validation called even with attribute "DisableValidation"

See original GitHub issue

Hi,

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?

2017-02-15 17_19_20-untitled - paint

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
hikalkancommented, Feb 28, 2017

Thank you @gabrielrobert for finding this bug. I fixed it.

0reactions
hikalkancommented, Feb 20, 2017

Thank you for the information. I could not understand it’s reason, but will try.

Read more comments on GitHub >

github_iconTop 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 >

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