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
fix: return readable errors for unrecognised JSON fields (#580)
When the API received a request body containing unknown JSON fields, it previously returned an opaque or unhelpful error response that gave
clients no actionable information. This fix adds proper handling in GlobalExceptionHandler for deserialization failures so that clients
receive a clear error message identifying the unrecognised field. This improves the developer experience when integrating with the API and
reduces debugging friction. The mentorship page feedback content is also refreshed with 2025 cycle testimonials and link field ordering is
aligned with the CMS schema convention.
Copy file name to clipboardExpand all lines: src/main/resources/init-data/mentorshipPage.json
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -9,59 +9,59 @@
9
9
"mentorSection": {
10
10
"title": "Become a Mentor",
11
11
"description": "You should apply to be a mentor if you:",
12
+
"link": {
13
+
"label": "Join as a mentor",
14
+
"uri": "/mentorship/mentor-registration"
15
+
},
12
16
"items": [
13
17
"Want to extend your professional network",
14
18
"Want to contribute to the community",
15
19
"You are ready to share expertise",
16
20
"You want to get a new perspective and learn from your mentees"
17
-
],
18
-
"link": {
19
-
"label": "Join as a mentor",
20
-
"uri": "/mentorship/mentor-registration"
21
-
}
21
+
]
22
22
},
23
23
"menteeSection": {
24
24
"title": "Become a Mentee",
25
25
"description": "You should apply to be a mentee if you:",
26
+
"link": {
27
+
"label": "Check our mentors",
28
+
"uri": "/mentorship/mentors"
29
+
},
26
30
"items": [
27
31
"Want to start career in software engineering",
28
32
"Want to find a better job",
29
33
"Want to be promoted at work",
30
34
"Want to apply for a leadership position",
31
35
"Need support in advancing your career"
32
-
],
33
-
"link": {
34
-
"label": "Check our mentors",
35
-
"uri": "/mentorship/mentors"
36
-
}
36
+
]
37
37
},
38
38
"feedbackSection": {
39
39
"title": "What do participants think about our Mentorship Programme?",
40
40
"feedbacks": [
41
41
{
42
-
"name": "Lucy",
43
-
"feedback": "It is great to be able to share my experience as a newbie in Tech with someone that has more years and experience in the industry. It has definitely made me feel more comfortable with been a completely beginner again and confident that, if a put the hours in, one day it will be pay off.",
44
-
"memberType": "Mentor",
45
-
"year": 2024
42
+
"name": "Busra",
43
+
"feedback": "My session with my mentor exceeded my expectations. She's calm, caring, and incredibly knowledgeable. She offered valuable guidance not only on my career but also on life in general. My mentor truly embodies a growth mindset. I highly recommend her to any mentee seeking direction delivered with both compassion and wisdom.",
44
+
"memberType": "Mentee",
45
+
"year": 2025
46
46
},
47
47
{
48
-
"name": "Ana Smith",
49
-
"feedback": "I am exciting with this mentorship program. This is really help me to pursue my goals. I got encouragement, insights, knowledge from my mentor that makes me back on the track and focus to what I have now, upgrade it, then reach out my goals.",
48
+
"name": "Zayna",
49
+
"feedback": "My mentor really took the time to comprehend my mental barriers and gave personalised structure advice to move past them. I appreciated the mentors vulnerability in explaining similar scenarios they had been in to give me a sense of guidance and belonging. Their kindness and warmth during the session has really helped me to progress in my career due to feeling safe to open up to them.",
50
50
"memberType": "Mentee",
51
-
"year": 2024
51
+
"year": 2025
52
52
},
53
53
{
54
-
"name": "Jane",
55
-
"feedback": "My mentor has done an excellent job accommodating me and guiding me this year. This was my first experience as a mentee and it has taken time getting my footing. I entered this program because I felt isolated since I seemed to not have any clarity of my career and had a sense of general \"directionless\". Mentor has made me feel validated in my feeling and has helped me understand that my anxiety stems from not having a good understanding of the industry I hope to be a part of. Through our sessions and an exercise she gave me, I was gained a better perceptive on how exactly to direct my focus.",
56
-
"memberType": "Mentor",
57
-
"year": 2024
54
+
"name": "Anonymous",
55
+
"feedback": "Just the simple act of presenting my profile and explaining my difficulties to a professional helped me structure the ideas and information in my head, and that alone was a big help. My mentor was caring, involved, and encouraging.",
56
+
"memberType": "Mentee",
57
+
"year": 2025
58
58
},
59
59
{
60
-
"name": "Anonymous",
61
-
"feedback": "It is an extremely helpful program and the mentor is quite open with matching my needs. She also actively encourages me with when and how to make job applications. She has helped with reviewing my CV and Linkedin profile. We have started work on my own personal project and collaboratively code on it, with the mentor asking questions to reinforce learning.",
60
+
"name": "Hanna",
61
+
"feedback": "I am delighted to have had the opportunity to work with my mentor. Her explanations are always clear and thorough, and her enthusiasm and passion for our profession are truly contagious.\n Working with her has not only been educational but also incredibly motivating. Her guidance and support have given me a significant boost in my professional development. I am sincerely grateful to her for the valuable insights and encouragement she has provided.\nThank you!",
0 commit comments