lundi 14 décembre 2020

What is the best practice today? use @NotNull or validate manually? especially in java 11

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