Hateoas icon indicating copy to clipboard operation
Hateoas copied to clipboard

HAL implementation

Open adrienbrault opened this issue 10 years ago • 3 comments

http://stateless.co/hal_specification.html

Representing Multiple Links With The Same Relation

A resource may have multiple links that share the same link relation. For link relations that may have multiple links, we use an array of links.

The issue is that there is currently no way to tell the library whether a relation is supposed to have multiple or only 1 link.

adrienbrault avatar Jul 15 '14 21:07 adrienbrault

See https://github.com/willdurand/Hateoas/blob/master/src/Hateoas/Serializer/JsonHalSerializer.php#L26-L33

adrienbrault avatar Jul 15 '14 21:07 adrienbrault

+1 ...

kayue avatar Apr 09 '15 08:04 kayue

:+1:

hjr3 avatar May 10 '15 01:05 hjr3