You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/src/main/java/com/objectcomputing/checkins/services/feedback_request/FeedbackRequestController.java
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -106,8 +106,8 @@ public HttpResponse<FeedbackRequestResponseDTO> getById(UUID id) {
Copy file name to clipboardExpand all lines: server/src/main/java/com/objectcomputing/checkins/services/feedback_request/FeedbackRequestRepository.java
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,10 @@ public interface FeedbackRequestRepository extends CrudRepository<FeedbackReques
30
30
"AND (CAST(:oldestDate as date) IS NULL OR send_date >= :oldestDate) " +
31
31
"AND (:reviewPeriodId IS NULL OR review_period_id = :reviewPeriodId) " +
32
32
"AND (:templateId IS NULL OR template_id = :templateId) " +
33
-
"AND (requestee_id = ANY(:requesteeIds)) "
33
+
"AND (requestee_id = ANY(:requesteeIds)) " +
34
+
"AND (:externalRecipientId IS NULL OR externalRecipientId = :externalRecipientId) "
Copy file name to clipboardExpand all lines: server/src/main/java/com/objectcomputing/checkins/services/feedback_request/FeedbackRequestResponseDTO.java
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,14 @@ public class FeedbackRequestResponseDTO {
19
19
@Schema(description = "unique id of the feedback request")
20
20
privateUUIDid;
21
21
22
-
@NotNull
23
22
@Schema(description = "id of the person who was requested to give feedback")
24
23
privateUUIDrecipientId;
25
24
26
25
@NotNull
27
26
@Schema(description = "id of the feedback request creator")
28
27
privateUUIDcreatorId;
29
28
30
-
@NotNull
29
+
@Nullable
31
30
@Schema(description = "id of the person who is getting feedback requested on them")
32
31
privateUUIDrequesteeId;
33
32
@@ -55,4 +54,8 @@ public class FeedbackRequestResponseDTO {
55
54
@Schema(description = "the id of the review period in that this request was created for")
56
55
privateUUIDreviewPeriodId;
57
56
57
+
@Nullable
58
+
@Schema(description = "id of the external person who was requested to give feedback")
Copy file name to clipboardExpand all lines: server/src/main/java/com/objectcomputing/checkins/services/feedback_request/FeedbackRequestServicesImpl.java
0 commit comments