I’ve written a small piece of code for common validations. The code can be extended to introduce more validations. Highlights –
- Builder Pattern
- Extensible code
- Non-instantiable Validation class
- Used a variety of concepts I discussed in the past month
Here is the link to the github respository. Do check it out.