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
minor #14847 [Uid] getId(): ?Uuid missing // need test getId: ?Ulid (Mausino)
This PR was merged into the 5.2 branch.
Discussion
----------
[Uid] getId(): ?Uuid missing // need test getId: ?Ulid
I added all code as in example, but i had still issue with api-platform that getId() field is wrong defined...
I have no experience with ULID !!! Please test my solution for
This solved my issue.. and now i am able create, update or delete record without any other issues.
I think that this will save lot of time for new users... because fist i thinked that must be
```php
public function getId(): ?UuidV4Generator
{
return $this->id;
}
```
but with this my code was still broken... now i know that there must be if you change primary identifier from Int to Uuid
```php
use Symfony\Component\Uid\Uuid;
public function getId(): ?Uuid
{
return $this->id;
}
```
....
also i think need to done the section of Uuid and Ulid for private $someProperty; getter and setter
Commits
-------
b11628a getId(): ?Uuid missing // need test getId: ?Ulid
0 commit comments