webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Headless CMS. Extend search capabilities for publishedOn field in <model>ListWhereInput

Open jimjoes opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

I can't do queries like this for publishedOn, like I would be able to do with createdOn :

     listBlogPosts(
        limit: 1
        where: { publishedOn_gt: $publishedOn, id_not: $id }
      ) {
        data {
          heading
          slug
        }
      } 

Describe the solution you'd like.

Provide the same search interface for publishedOn as we have for createdOn.

Describe alternatives you've considered.

No response

jimjoes avatar May 25 '22 10:05 jimjoes