Re: [Specifications] Question about HATEOAS shortcuts (#189)

> but a typical user does not search by product id

Indeed. I find this statement contradict the actual example above which assumes you are looking for `product-with-id(123)`. If that is the desired outcome then maybe a search by the id is what your API needs? 

> So we need extra link(s) in our REST API just to support saving certain client states by collections.

Could you elaborate? I don't see how the collection would save client state? Seems to violate statelessness of REST.

-- 
GitHub Notification of comment by tpluscode
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/189#issuecomment-482937757 using your GitHub account

Received on Sunday, 14 April 2019 09:29:12 UTC