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

RequiredAttribute add an AllowDefault property #28694

Closed
Varorbc opened this issue Feb 15, 2019 · 1 comment
Closed

RequiredAttribute add an AllowDefault property #28694

Varorbc opened this issue Feb 15, 2019 · 1 comment

Comments

@Varorbc
Copy link
Contributor

Varorbc commented Feb 15, 2019

add an AllowDefault property to determine if the value is available

similar to the role of the code below

https://github.com/dotnet/corefx/blob/9205f4636caae2498d7b05d77be9404af1538f27/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/RequiredAttribute.cs#L29

@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@msftgits msftgits added this to the Future milestone Feb 1, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@ericstj ericstj removed the untriaged New issue has not been triaged by the area owner label Jul 1, 2020
@Varorbc
Copy link
Contributor Author

Varorbc commented Mar 7, 2023

Fixed by #82311

@Varorbc Varorbc closed this as completed Mar 7, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants