Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAL implementation #161

Open
adrienbrault opened this issue Jul 15, 2014 · 3 comments
Open

HAL implementation #161

adrienbrault opened this issue Jul 15, 2014 · 3 comments

Comments

@adrienbrault
Copy link
Contributor

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
Copy link
Contributor Author

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

@kayue
Copy link
Contributor

kayue commented Apr 9, 2015

+1 ...

@hjr3
Copy link

hjr3 commented May 10, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants