© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
❔ Double property with [Required] data annotation does not validate - C#
C
C#
•
4y ago
•
15 replies
riazuezra
❔ Double property with [Required] data annotation does not validate
How can I make it so that the req body has to have a DiscountPercentage field
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
✅ required attribute vs [Required] annotation
C
C# / help
13mo ago
✅ Required property
C
C# / help
2y ago
records, with expression, required property
C
C# / help
16mo ago
EF Core Model not-required property
C
C# / help
4y ago