Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes validation in model base class properties #95

Closed
i4004 opened this issue Sep 20, 2020 · 0 comments
Closed

Attributes validation in model base class properties #95

i4004 opened this issue Sep 20, 2020 · 0 comments
Assignees
Labels

Comments

@i4004
Copy link
Member

i4004 commented Sep 20, 2020

Properties validation don't invoke in base class properties.

public class MyChildObj: MyObj
{ 
}

public class MyObj
{
        [Required]
        public string Number {get; set;}
}
@i4004 i4004 added area-model-binding new feature new feature request labels Sep 20, 2020
@i4004 i4004 self-assigned this Sep 20, 2020
i4004 added a commit that referenced this issue Sep 21, 2020
@i4004 i4004 closed this as completed in 095e132 Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant