Skip to content

Commit

Permalink
Merge pull request api-platform#179 from theofidry/patch-4
Browse files Browse the repository at this point in the history
Add links
  • Loading branch information
dunglas committed Jul 19, 2015
2 parents a4ac997 + 3b71bd2 commit 59aeb02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/doc/serialization-groups-and-relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ services:

### Entity identifier case

Actually we identify the entity identifier from Doctrine Identifier.
Actually we identify the entity identifier from [Doctrine Identifier](http://doctrine-orm.readthedocs.org/en/latest/reference/basic-mapping.html#identifiers-primary-keys).
We don't support entity resource with multiple identifier.

The entity identifier is never returned like other properties : it's a part of the URI contained in @id field.
So in the /vocab endpoint : identifier not appear in the properties list.
The entity identifier is never returned like other properties : it's a part of the URI contained in `@id` field.
So in the `/vocab` endpoint : identifier not appear in the properties list.

#### Entity identifier writable

Expand Down

0 comments on commit 59aeb02

Please sign in to comment.