전체 글

트러블 슈팅

@QueryProjection의 Q객체 인식못함오류

@QueryProjection public FindAllPostDto(Long postId, String name, String title, String content, Category category, Long price) { this.postId = postId; this.name = name; this.title = title; this.content = content; this.category = category; this.price = price; this.createdDate = createdDate; } 이렇게 생성자를 만들었음에도 인식이 되지않았다 하지만 빌드 방식을 gradle로 변경하니 됐다.

프로젝트 일지

@AuthenticationPrincipal 에 파라미터 전달

https://velog.io/@preace11/Spring-Security-%ED%85%8C%EC%8A%A4%ED%8A%B8-%EC%BD%94%EB%93%9C-%EC%9E%91%EC%84%B1-%EC%8B%9C-mockMvc%EC%97%90%EC%84%9C-AuthenticationPrincipal-%ED%8C%8C%EB%9D%BC%EB%AF%B8%ED%84%B0-%EC%A0%84%EB%8B%AC%ED%95%98%EA%B8%B0

프로젝트 일지

@AuthenticationPrincipal 구현 코드 (임시)

보호되어 있는 글입니다.

Git

workflow메모

git pull --rebase origin master rebase를 쓰면 불필요한 병합 커밋을 한 번 줄일 수 있어 깔끔해진다. 리베이스 도중 충돌이 일어나면 git status명령으로 Unmerged Paths 부분에서 충돌한 파일을 찾을 수 있다. 충돌을 해결 후 $ git add $ git rebase --continue 하면 리베이스가 재개된다. 리베이스중 뭔가 잘못되었다면 $ git rebase --abort를 쓰면 git pull -rebase하기 전으로 돌아간다. $ git push -u origin miae-feature miae-feature 브랜치를 중앙 저장소(origin)에 푸시하는 명령이다. -u | --set-upstream 옵션이 중요하다. 이는 로컬 기능 개발 브랜치와 중..

메모장

tdd3

보호되어 있는 글입니다.

키스샷1104
공부