What would be the best practice? use @NotNull in the model class or validate values manually? I would like to know because I have been using both methods for a few years but I don't know what is the best practice today, especially in the java 11 era
Aucun commentaire:
Enregistrer un commentaire