Skip to content

Filter selector – existential filters [?@<path>] #154

Open

Description

@V0ldek

Is your feature request related to a problem? Please describe.
Support for filters with the following restrictions:

  • no nesting
  • no logical/boolean operations
  • only existential tests

So strictly filters of the form [?@<path>].

Describe the solution you'd like
The solution requires a theoretical write-up and then implementation.

The current idea is to have a second DFA, the filter automaton, controlled by the main query automaton. The state of the filter automaton would determine if a given path match is to be emitted, ingored, or stored to potentially be emitted later.

Additional context
RFC draft.

Activity

  1. added
    type: feature
    on Jun 14, 2023
  2. added
    acceptance: triage
    on Jun 14, 2023
  3. github-actions commented on Jun 14, 2023

    @github-actions

    Tagging @V0ldek for notifications

  4. changed the title [-]Filter selector &ndash; existential filters `[?@<path>]`[/-] [+]Filter selector – existential filters `[?@<path>]`[/+] on Jun 14, 2023
  5. added this to the v1.0.0 milestone on Jun 15, 2023
  6. added
    acceptance: go ahead
    and removed
    acceptance: triage
    on Jun 15, 2023
  7. added
    area: selector
    on Jun 15, 2023
  8. moved this from Todo to In Progress in Active rsonpath developmenton Feb 5, 2024
  9. added a commit that references this issue on Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptance: go aheadarea: selectortype: feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions