Skip to content

Conversation

@fox-58
Copy link

@fox-58 fox-58 commented Jul 3, 2025

Description 🧾

Context of PR, summary of changes, as well as any relevant technical decisions/motivations.

Testing

Replace this line with instructions on how to test your changes, as well as any relevant images for UI changes.

Checklist

  • 📍 You have assigned yourself to this pull request.
  • 🔗 You have linked an issue to which this pull request closes.
  • 💭 Leave any relevant specific directions to reviewers.
  • 👀 No secrets in clear text in the pull request.
  • 🎟️ To categorise release notes, the pull request should be labelled with at least one of these labels:
    • feature: for application feature improvement or new features
    • bug: fixing something that previously wasn't working
    • dev: development-side related changes
    • docker: updates to the Docker code
    • setup: changes to the setup/infrastructure of the codebase
    • test: updates to internal testing

@fox-58 fox-58 requested a review from a team as a code owner July 3, 2025 05:12
@fox-58 fox-58 changed the base branch from dev to server-rewrite July 3, 2025 05:13
@lhvy lhvy mentioned this pull request Jul 10, 2025
@lhvy lhvy force-pushed the server-rewrite branch from 39e1bdd to 599672e Compare July 15, 2025 03:54
@fox-58 fox-58 requested a review from a team as a code owner August 30, 2025 07:36
@fox-58 fox-58 force-pushed the update-backend-routes-for-events branch 2 times, most recently from 896e5a9 to e6bf72a Compare September 4, 2025 05:44
const colourValid = this.isColourCodeValid(eventDetails.colour);
validate(colourValid, 'Colour code is not valid', HttpStatus.BAD_REQUEST);

if (!(eventDetails.type in EventType)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious if this is actually possible. Might be worth testing to see what happens when you pass an invalid type... Ask @jason4193 about using Postman later.

Copy link
Contributor

Choose a reason for hiding this comment

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

@lhvy Tested on the Postman, only default-<1 to 8>, #<3 letters 0-9/A-F> & #<6 letters 0-9/A-F> will pass the validation.
Something like #default, default-9, #xxx will fail

Copy link
Contributor

@jason4193 jason4193 left a comment

Choose a reason for hiding this comment

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

similar to @lhvy 's comments, happy to test on those routes using postman

@fox-58 fox-58 force-pushed the update-backend-routes-for-events branch from 75fe2be to 3cfa62f Compare September 23, 2025 11:52
@lhvy lhvy added the 🍀 feature 🪴 New feature or request label Oct 9, 2025
@fox-58 fox-58 force-pushed the update-backend-routes-for-events branch from 258dcf4 to f353af6 Compare October 20, 2025 07:21
@lhvy lhvy merged commit 7126e45 into server-rewrite Oct 22, 2025
3 checks passed
@lhvy lhvy deleted the update-backend-routes-for-events branch October 22, 2025 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍀 feature 🪴 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants