We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f0db4 commit 9675871Copy full SHA for 9675871
core/identifiers.md
@@ -24,11 +24,8 @@ use App\Uuid;
24
#[ApiResource(provider: PersonProvider::class)]
25
final class Person
26
{
27
- /**
28
- * @var Uuid
29
- */
30
#[ApiProperty(identifier: true)]
31
- public $code;
+ public Uuid $code;
32
33
// ...
34
}
@@ -214,12 +211,9 @@ final class Person
214
211
#[ApiProperty(identifier: false)]
215
212
private ?int $id = null;
216
213
217
218
219
220
#[ORM\Column(type: 'uuid', unique: true)]
221
222
223
224
225
0 commit comments