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

feat : 공연 상세 및 체크리스트 조회 구현 #246

Merged
merged 9 commits into from
Jan 31, 2023

Conversation

gengminy
Copy link
Member

개요

작업사항

"data": {
    "name": "고스락 제 22회 정기공연",
    "startAt": "2023-03-20 12:00",
    "runTime": 90,
    "status": "PREPARING",
    "host": {
      "hostId": 13,
      "name": "고스락",
      "introduce": null,
      "profileImageUrl": null,
      "contactEmail": "gosrock@gsrk.com",
      "contactNumber": "010-1111-3333",
      "partner": false
    },
    "place": {
      "latitude": 37.548369,
      "longitude": 126.920036,
      "placeName": "롤링홀",
      "placeAddress": "서울 마포구 어울마당로 35"
    },
    "posterImage": null,
    "detailImages": [],
    "content": null
  }
  • 공연 상세 조회 구현
  • 공연 체크리스트 구현
  • 공연 status 변경 구현
  • 이벤트 조회 시 place 필드를 중첩 필드로 분리하였음
  • 공연은 모두가 조회할 수 있지만 PREPARING 상태일 경우엔 호스트 유저만 조회하게 했음
  • 그 외 잡다한 명칭 변경 (valid -> validate 등등)

변경로직

  • 위와 같음

@gengminy gengminy added For: API [이슈 대상] 외부 API Type: Feature [이슈 목적] 새로운 기능 추가 labels Jan 31, 2023
@gengminy gengminy self-assigned this Jan 31, 2023
Copy link
Member

@ImNM ImNM left a comment

Choose a reason for hiding this comment

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

굿굿!

Comment on lines 104 to 107
public void setStatus(EventStatus status) {
this.status = status;
}

Copy link
Member

Choose a reason for hiding this comment

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

Open , Close 등으로 메서드명 나누고
검증로직 들어가야 할 것 같습니다!

Copy link
Member Author

Choose a reason for hiding this comment

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

일단 임시로 틀만 만들어 둘게요

Comment on lines 65 to 76
public Boolean hasEventBasic() {
return this.eventBasic != null && this.eventBasic.isValid();
}

public Boolean hasEventPlace() {
return this.eventPlace != null && this.eventPlace.isValid();
}

public Boolean hasEventDetail() {
return this.eventDetail != null && this.eventDetail.isValid();
}

Copy link
Member

Choose a reason for hiding this comment

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

isValid 보단 isUpdated? 등 다른메소드 이름이 더 명확한것같은데
어떻게 생각하시나유

Copy link
Member Author

Choose a reason for hiding this comment

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

isValid 보단 isUpdated? 등 다른메소드 이름이 더 명확한것같은데 어떻게 생각하시나유

일단 바꿔볼게요

Copy link
Member

@sanbonai06 sanbonai06 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 263 Code Smells

16.4% 16.4% Coverage
0.0% 0.0% Duplication

@gengminy gengminy merged commit db22551 into dev Jan 31, 2023
@ImNM ImNM deleted the feature/244-event-detail branch February 1, 2023 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For: API [이슈 대상] 외부 API Type: Feature [이슈 목적] 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 [feature] 이벤트 상세 조회
3 participants