Re: [Specifications] Relative Template URIs (#208)

Consider these:
`
GET /home

</home> hydra:collection </people>.
</people>
  a hydra:Collection;
  api:newPerson [hydra:template "./new/{slug}].
`

`
GET /home

</home> hydra:collection </people>.
</people>
  a hydra:Collection;
  api:newPerson <./new/somebody>.
`

The former would get resolved to `/people/new/somebody` (with {slug} replaced with somebody), the latter would get resolved to `/home/somebody`.

I'd expect that resolving an Iri template should lead to same result as "flattened" link.

-- 
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/208#issuecomment-608104720 using your GitHub account

Received on Thursday, 2 April 2020 21:40:15 UTC