Change
ServiceCall hrefs should be easier to code
Issue description
Creating links to access other services or the same service with alternative parameters is currently difficult. It involves many lines of code performing string concatenation, testing for presence of a query string (in order to decide whether to append & or ?) and so on. With ServiceCall it gets easier, but the line is still a parenthesis jungle. This could be simplified if the __toString method of ServiceCall would return the result of its method href. Also it should be possible to request a specific format by appending the extension to the first parameter of the ServiceCall constructor.
Developer comments
When a ServiceCall object is put into a string context, it is automatically put into the respective language.
|
Work sessions
Start |
2020-12-09T07:25:15
|
End |
2020-12-09T08:28:09
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.