RE: request for verification: paging in TPF

On 5 Nov 2015 at 22:54, Ruben Verborgh wrote:
>>> spec
>>>   (already started; harder than I thought because of the allowed
>> flexibility)
>> 
>> Cool. What kind of flexibility are you referring to here? Do you think
it's
>> required flexibility or could it be reduced without loosing much?
> 
> Hypermedia controls, so I don't really want to compromise there :-)
> Concretely, the tester needs to find the TPF hypermedia control
> and check whether it conforms to all requirements.
> However, there might be several controls in the response,
> some might wel look like the TPF hypermedia control, etc.
> 
> Usually, one can implement tests like:
> look for _this_, then check that and that.
> But since the controls can have various shapes,
> the _this_ can be hard to recognize
> without performing the checks first.

I see. Makes sense. Sometimes people suggest to require explicit typing of
resources to simplify that. What's your take on that? It indeed simplifies
things quite a bit in a lot of cases.


--
Markus Lanthaler
@markuslanthaler

Received on Thursday, 5 November 2015 22:11:52 UTC