-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEATURE] 버전 관리 기능 추가 #116
Conversation
@Builder | ||
public class VersionInfoVo { | ||
|
||
@Schema(description = "AOS 버전입니다.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 모르니 스키마 설명 바꿔주시면 좋겠어용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵
import tify.server.domain.domains.AbstractTimeStamp; | ||
|
||
@Getter | ||
@Setter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setter말고 public 메서드로 업데이트 하는게 더 좋을 것 같아용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니닷
aosVersion.ifPresentOrElse( | ||
version::setAosVersion, | ||
() -> { | ||
version.setAosVersion(recentVersion.getAosVersion()); | ||
}); | ||
iosVersion.ifPresentOrElse( | ||
version::setIosVersion, | ||
() -> { | ||
version.setIosVersion(recentVersion.getIosVersion()); | ||
}); | ||
versionAdaptor.save(version); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
각각 Optional로 검증하고 version.updateAosVersion으로만 하면 굳이 다시 save할 필요 없을 것 같아용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 되면 Version 테이블에는 하나의 레코드만 있고 그걸 계속 변경하는 방식인가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 그러면 굳이 limit1로 version entity를 끌어오는게 아니고 항상 하나만 조회 할 수 있기 때문에 더 좋은 것 같아용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정사항 적어놨습니다
📝 PR Summary
앱 버전 기능을 추가합니다
🌲 Working Branch
feat/113-app-version
🌲 TODOs
Related Issues
#113