Skip to content

No support for query parameter published_at_gt and others #64

@frastel

Description

@frastel

We are in the need to filter stories according their published date. The "published_at" field is a native field in Storyblok and thus not filterable by gt_date or lt_date operations.

Expected Behavior

It is possible to use these query parameters from the Storyblok API:

  • published_at_gt
  • published_at_lt
  • first_published_at_gt
  • first_published_at_lt
  • updated_at_gt
  • updated_at_lt

Current Behavior

The possible query parameters are currently hardcoded in the StoriesRequest. It is not possible to bypass any other parameter which the Storyblok API supports.
See also #34.

Current workaround: No workaround possible as StoriesRequest is declared as final and thus we have no way to modify this class on our own. We can't use the SDK due to this problem for now. For any other issues we have found workarounds.

Steps to Reproduce

Try to filter stories according their published date with the SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions