Skip to content

Implement complex filtering #15

@SphtKr

Description

@SphtKr

Many use cases (including some in my own apps) require at least slightly more complex filter/query capability. E.g.:

  • obj.createdDate > someDate
  • obj.createdDate >= startDate && obj.createdDate < endDate
  • obj.disabled != true (or !obj.disabled?)

These can't be accomplished via the spec-provided interface (see #14).

How to do this, and what interface to present? I currently use OData in my apps, but that leaks the underlying .NET model structure to the REST interface. Implementing a whole query parser and processor seems...Quixotic.

What does Active Model Serializers do for these use-cases, if anything? Should this or something else be looked to as a de-facto standard?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions