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

[4주차] 최서현 : JPA를 이용한 GET api #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

candosh
Copy link
Member

@candosh candosh commented Apr 29, 2024

Issue

Description

  • 코드를 잘 짰는지 모르겠습니다 🥹
  • 스웨거만 올려보자는 마음으로 했고여,, 코드는 다시 시간을 갖고 고쳐보겠습니다! 🧔🏻‍♀️

Check List

  • PR 제목을 커밋 규칙에 맞게 작성
  • PR에 해당되는 Issue를 연결 완료
  • 적절한 라벨 설정
  • 작업한 사람 모두를 Assign
  • 작업한 팀에게 Code Review 요청 (Reviewer 등록)
  • main 브랜치의 최신 상태를 반영하고 있는지 확인

Screenshot

image
스크린샷 2024-05-16 오후 3 11 42
스크린샷 2024-05-16 오후 3 11 53

@candosh candosh added the 과제 과제 라벨 label Apr 29, 2024
@candosh candosh self-assigned this Apr 29, 2024
@eunsoA
Copy link

eunsoA commented Apr 29, 2024

멋지다멋지다 멋져

@HwanGonJang
Copy link
Collaborator

image

Comment on lines 51 to 53
public List<ShortenedUrlDto> getShortUrlsContainingStringQueryDsl(String inquiry) {
List<ShortenedUrl> shortUrls = shortenedUrlRepository.findByOriginUrlContaining(inquiry);
return shortUrls.stream().map(ShortenedUrlDto::from).collect(Collectors.toList());
Copy link
Member

Choose a reason for hiding this comment

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

해당부분 dsl 코드는 어니고 아직 JpaRepository 관련 코드인 것 같은데요! 해당 부분만 고치면 괜찮을 것 같아요 ㅎㅎ

Copy link
Member Author

Choose a reason for hiding this comment

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

앗 그러네요 감사합니다! 🐶

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
과제 과제 라벨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants