Simplifying internal validations using Dry-Validation


When building APIs for other developers, it’s often important to draw the line between other programmers input data and the internal world of your library. This process is called data validation and you’re probably familiar with this name. What you may not know, is the fact that it can be achieved in many ways. One that I particularly like is by using the dry-validation library...