Re: Filters as views (ISSUE-45)

Hi Markus

>If you don't like this approach, could you please point out in the examples
>what exactly you don't like. Could you, in that case, please also rewrite
>the examples to illustrate how you would see this working with the 
>alternate
>proposal.

>From my perspective is good enough as it doesn't create separate constructs 
for paging and filtering - in both examples presented we're using views 
which I like. I'd probably prefer to move both to the term of 'filter' (as I 
had this conversation with Ruben), but still being consequent here is OK for 
me.

The only objection I could made is that whe we're not keen to move the 
paging to that templating mechanism as well:

{
    "@id": /collection",
    "@type": "Collection",
    "view": {
      "@type": "ViewTemplate",
      "template": "/collection{*n,p}",
      "mapping": [{
        "variable": "n"
        "property": "name"
        "filter": true
      },{
        "variable": "p"
        "property": "page"
      }]
    }
  }

Cheers

Karol 

Received on Tuesday, 12 January 2016 21:10:54 UTC