Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] QueryDsl 쿼리에서 발생한 NPE 해결 #161

Merged
merged 1 commit into from
Aug 27, 2024
Merged

[FIX] QueryDsl 쿼리에서 발생한 NPE 해결 #161

merged 1 commit into from
Aug 27, 2024

Conversation

Kim-TaeUk
Copy link
Collaborator

Tuple에서 userNovel.novel로 명확하게 path 명시

Related Issue

Key Changes

  • UserNovelCustomRepositoryImplfindTasteNovels() 메서드에서 QueryDsl을 사용하여 List 조회할 때, 쿼리 결과로 반환된 Tuple 객체에서 Novel 객체를 참조하는 부분에서 NPE 발생
  • userNovel.novel로 path 명시해줌으로써 NPE 해결

Tuple에서 userNovel.novel로 명확하게 path 명시
Copy link
Member

@ChaeAg ChaeAg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

와 캐치 해내신게 👍
굿입니다~~

Copy link
Collaborator

@rinarina0429 rinarina0429 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻👍🏻 수고하셨습니다아~

@Kim-TaeUk Kim-TaeUk merged commit 7cdd397 into dev Aug 27, 2024
2 checks passed
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.

[FIX] QueryDsl 쿼리에서 발생한 NPE 해결
3 participants