TeamFILL-IN / server-renew

spring base
The Unlicense
2 stars 0 forks source link

Fillin Exception Handling 구성 #12

Closed daehwan2da closed 9 months ago

daehwan2da commented 9 months ago
oownahcohc commented 9 months ago
daehwan2da commented 9 months ago

@oownahcohc 늦게 확인해 답변이 늦었네요

전체적으로 @NotNull @Nullable 을 많이 사용하셔서, 혹시 적용하시는 기준이 있으신가요?! 그냥 개인 습관인데요, 더 명시적으로 java 에서 더 명시적으로 null handling 이 가능한것같아서 추가하고있습니다~

  • 기준은 null 과 not null 이라고 생각되는 파라미터 혹은 getter 붙혀주고있어요~

앞으로 개발 시에 api 패키지에 controller 부분, domain 에 service, repository 관리하는 식으로 하면 될까요?!

  • 넵 맞습니다!