Re: Moving forward with hydra:filter (ISSUE-45)

Via Boxer senden
Am 31.10.2015 13:53 schrieb Karol Szczepański <karol.szczepanski@gmail.com>:
>
> Hi Dietrich 
>
> Just to deliberate a little bit with you... 
>
> >> Well, first of all - not all variables needs to be replaced. Consider 
> >> query string parameters - these are usually optional 
> >what makes you think so? 
> >hydra:next </gadgets?page=4> 
> >;-) 
> Well, call to /gadgets is as valid as the one with ?page=4. 

Agreed, but in order to be the :next link, the query param can't be dropped. In that sense it is required, and even has a fixed value - a uritemplate can express a fixed value and still allow addtl params with a query continuation such as ?foo=12{&bar}. 

OK, enough of UriTemplate ;-)

Best regards,
Dietrich

Received on Saturday, 31 October 2015 22:00:29 UTC