Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Partially resolving templates on the back end #10

Open
dmlayton opened this issue Oct 22, 2013 · 0 comments
Open

Partially resolving templates on the back end #10

dmlayton opened this issue Oct 22, 2013 · 0 comments

Comments

@dmlayton
Copy link

I am writing a HAL interface and I have a template like blah{/foo,bar}/blah{/baz}. Since foo and bar are attributes of a parent resource, I need to give back a uri template like blah/foo_value/bar_value/blah{/baz}
However, expand quite righly returns
blah/foo_value/bar_value/blah
because that is what a client should do, but I am the server. Is there anyway to have an option to partially resolve the template?

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

No branches or pull requests

1 participant