mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Update version within PUT request
Try to add api logic check for version being the same instead of smaller implementing optimistic locking and displaying correct message in frontend rector fixes adjust violation message and add translation in translation.yaml add translator in apiController
This commit is contained in:
@@ -245,10 +245,12 @@ class AccompanyingPeriodWork implements AccompanyingPeriodLinkedWithSocialIssues
|
||||
private ?User $updatedBy = null;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="integer", nullable=false, options={"default": 1})
|
||||
*
|
||||
* @Serializer\Groups({"read", "accompanying_period_work:edit"})
|
||||
*/
|
||||
* @ORM\Column(type="integer", nullable=false, options={"default": 1})
|
||||
*
|
||||
* @Serializer\Groups({"read", "accompanying_period_work:edit"})
|
||||
*
|
||||
* @ORM\Version
|
||||
*/
|
||||
private int $version = 1;
|
||||
|
||||
public function __construct()
|
||||
|
Reference in New Issue
Block a user