Skip to content

132 backend application rename thread question - #135

Merged
bramcomyn merged 33 commits into
backend-applicationfrom
132-backend-application-rename-thread-question
Mar 5, 2025
Merged

132 backend application rename thread question#135
bramcomyn merged 33 commits into
backend-applicationfrom
132-backend-application-rename-thread-question

Conversation

@bramcomyn

Copy link
Copy Markdown
Contributor

Description

As requested in our last meeting, I added to our API's specification the routes for retrieving messages in question threads. Besides that, I checked the names of the routes and made sure all route names are pluralized, as is recommended when writing a RESTful API.

Changes

  • added API routes: /questions/:idParent/messages/:id and /questions/:idParent/messages
  • pluralized names and updated routers

bramcomyn and others added 25 commits February 28, 2025 13:21
refactor: renamed backend/src/application/helpers.ts to helpersExpress.ts
@bramcomyn bramcomyn self-assigned this Mar 3, 2025
@bramcomyn
bramcomyn requested a review from Adrien-VL March 3, 2025 10:33
@bramcomyn bramcomyn added the enhancement New feature or request label Mar 3, 2025
@bramcomyn bramcomyn added this to the Milestone 1 milestone Mar 3, 2025
Comment thread backend/api/openapi.yml

@Adrien-VL Adrien-VL left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@bramcomyn, although most the problems that the comments mentioned can be considered optional and can be resolved after merge it would be nice to tackle them before the resolution of this PR.

Comment thread backend/src/application/controllers/pendingInviteController.ts
Comment thread backend/src/application/controllers/classController.ts
@bramcomyn

Copy link
Copy Markdown
Contributor Author

You're absolutely right!

@bramcomyn

Copy link
Copy Markdown
Contributor Author

I will also split out the tests for routers, as this will make them less prone to errors or complex typing issues.

@bramcomyn
bramcomyn merged commit 8a61417 into backend-application Mar 5, 2025
@thomasdejaeghere
thomasdejaeghere deleted the 132-backend-application-rename-thread-question branch March 11, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants