Re:Fighting Complexity in Software Development
by apta on Friday July 05, 2019 @08:31PM
(#20366954)
This is already achievable using annotations in Java or attributes in C#, in a less verbose way. You just tag your method parameter with `@Valid` or `[Valid]` or what have you, and the framework you're using automatically ensures that the validations you specified on the data model are valid at that point in time.
[ Parent
| on HN ]
There are no comments on this comment yet.