Skip to content

Commit

Permalink
hotfix: Set 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Aug 28, 2024
1 parent 3dc7a86 commit 9457464
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ record Project(
Logo logo,
Type type,
Date date,
Set<String> skillSet,
List<String> skillSet,
List<Section> sections,
String url
) {
Expand All @@ -87,7 +87,7 @@ record Writer(
SchoolInfo schoolInfo,
Major major,
String email,
Set<String> skillSet,
List<String> skillSet,
String url
) {
record SchoolInfo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static ResumeModel createInitialResume(String id, String name, ResumeElem
null,
Year.now().getValue(),
ResumeElementDto.Status.ONGOING,
new ResumeElementDto.Writer(id, name, schoolInfo, major, "", Collections.emptySet(), ""),
new ResumeElementDto.Writer(id, name, schoolInfo, major, "", Collections.emptyList(), ""),
new ResumeElementDto.Introduce("", ""),
Collections.emptyList(),
Collections.emptyList(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ public record Writer(
SchoolInfo schoolInfo,
Major major,
String email,
Set<String> skillSet,
List<String> skillSet,
String url
) {
public Writer update(Major major, String email, Set<String> skillSet, String url) {
public Writer update(Major major, String email, List<String> skillSet, String url) {
return new Writer(id, name, schoolInfo, major, email, skillSet, url);
}

Expand Down Expand Up @@ -46,7 +46,7 @@ public record Project(
Logo logo,
Type type,
Date date,
Set<String> skillSet,
List<String> skillSet,
List<Section> sections,
String url
) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.repo.whopper.interfaces.resume.dto.request;

import java.util.Set;
import java.util.List;

public record UpdateWriterInfoRequest(
String email,
Set<String> skillSet,
List<String> skillSet,
String url,
String majorId
) {}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ record ResumeWriterResponse(
ResumeElementDto.Writer.SchoolInfo classInfo,
String department,
String url,
Set<String> skillSet
List<String> skillSet
) {
public static ResumeWriterResponse of(ResumeModel resume) {
final var schoolInfo = resume.writer().schoolInfo();
Expand Down

0 comments on commit 9457464

Please sign in to comment.