Skip to content

Conversation

@nahowo
Copy link
Owner

@nahowo nahowo commented Feb 8, 2025

Summary

Description

- User Create

  • service 수정
    • jwt 토큰 생성 로직 추가
    • command로 domain 생성하지 않고 builder 사용하도록 변경

- User Update

  • 더티체킹 대신 네이티브 쿼리로 업데이트

- User Delete

  • 엔티티의 @ SQLDelete를 통해 소프트 딜리트 구현

- 테스트 코드 작성

  • userCreate 분기 테스트 추가
  • userUpdate 테스트 추가

- Mapper 수정

  • @ Mapping(ignore = true)를 사용해 디폴트값 적용된 필드에 null이 덮어씌워지지 않도록 적용
  • userCreate 시 new Entity 대신 Mapper를 사용하도록 수정

Screenshot

Test Checklist

  • 체크리스트

@nahowo nahowo linked an issue Feb 8, 2025 that may be closed by this pull request
@nahowo nahowo merged commit b9f5367 into develop Feb 8, 2025
1 check failed
@nahowo nahowo deleted the refactor/#7 branch February 8, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] User API 개발/단위 테스트 코드 작성

2 participants