I've a builder pattern with some properties that I want to validate. If validation of a property is incorrect change the content of the property before builder pattern build the object.
Is there any other pattern to combine with builder pattern to achieve this? If no What is the best practice to do this.
Any help would be appreciated
Aucun commentaire:
Enregistrer un commentaire