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

getURL with a Link should return the remote URL #17

Open
jensens opened this issue Jul 9, 2016 · 1 comment
Open

getURL with a Link should return the remote URL #17

jensens opened this issue Jul 9, 2016 · 1 comment

Comments

@jensens
Copy link
Member

jensens commented Jul 9, 2016

getURL always returns the URL of the object itself. On a Link object this does now make much sense, since here the URL of interest is in general the getRemoteUrl.

If this is too fuzzy, I propose to add a getRemoteURL to the interface and its implementations, since this is quite often needed if working with the Link content-type.

@thet
Copy link
Member

thet commented Jul 10, 2016

+1 for adding getRemoteURL.
I would expect getURL to always return the url to the object itself. It will be needed for constructing special URLs, e.g. /@@edit or /@@view.

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

2 participants