implement endpoint method to update a vehicle #41

Closed
opened 2025-10-21 16:53:08 +00:00 by duarteneves5 · 1 comment
duarteneves5 commented 2025-10-21 16:53:08 +00:00 (Migrated from github.com)

to complete this task the method should be able to sucessfully update a vehicle entity on the database.

to update a vehicle entity it must be given a valid vehicle registration, that means a vehicle that is in the database.

note that some rules for the update must be followed:

  • vehicle registration, brand, model, internal id cannot be updated
  • entity properties that are required cannot be updated to null/empty
  • [optional] to update a vehicle the user needs to either have the vehicle's service assigned to him or be an admin (to be debated)
to complete this task the method should be able to sucessfully update a vehicle entity on the database. to update a vehicle entity it must be given a valid vehicle registration, that means a vehicle that is in the database. note that some rules for the update must be followed: - vehicle registration, brand, model, internal id cannot be updated - entity properties that are required cannot be updated to null/empty - [optional] to update a vehicle the user needs to either have the vehicle's service assigned to him or be an admin (to be debated)
AndreFerreira5 commented 2026-01-22 23:07:29 +00:00 (Migrated from github.com)

this issue has already been integrated in the maion branch, closing...

this issue has already been integrated in the maion branch, closing...
Sign in to join this conversation.
No description provided.