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

后端 未结 0 627
感动是毒
感动是毒 2020-12-15 04:08

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 b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题