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

System.ComponentModel.DataAnnotations Required attribute is triggering validations in ASP.NET #36

Open
clintirvingEAX opened this issue Jan 5, 2023 · 0 comments
Assignees

Comments

@clintirvingEAX
Copy link
Collaborator

The Required attribute is an instruction to Entity Framework to mark the field as non-nullable, however it's also used in ASP.NET to trigger validations for fields. Because we need fine-grain control to allow one or the other, we need to introduce an overload of this field.

@clintirvingEAX clintirvingEAX self-assigned this Jan 5, 2023
clintirvingEAX pushed a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant