Skip to content

Commit e86f83c

Browse files
authored
Missing ApiProperty uses in identifiers doc
1 parent 4b5f5d4 commit e86f83c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/identifiers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Let's say you have the following class, which is identified by a `UUID` type. In
1414
namespace App\Entity;
1515

1616
use ApiPlatform\Core\Annotation\ApiResource;
17+
use ApiPlatform\Core\Annotation\ApiProperty;
1718
use App\Uuid;
1819

1920
/**
@@ -130,6 +131,7 @@ If your resource is also a Doctrine entity and you want to use another identifie
130131
namespace App\Entity;
131132

132133
use ApiPlatform\Core\Annotation\ApiResource;
134+
use ApiPlatform\Core\Annotation\ApiProperty;
133135
use App\Uuid;
134136
use Doctrine\ORM\Mapping as ORM;
135137

0 commit comments

Comments
 (0)