Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Filter by int doesn't work #12

Description

@igorsantos07

I'm not exactly sure if this is a bug or one of the shortcomings of the filter syntax described on the readme. Would be great if this worked, but if it's not possible, document the issue so others do not stumble upon :)

I'm trying to filter entries by a single integer value, but that triggers a "malformed filter query" error.
This is the filter I'm using: $.results[?(@.id = 1)]. To have it working, I simply had to quote the ID, like $.eligible_billables[?(@.id = "1")].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions