Skip to content

The function length should havea singular query argument. #1

@besok

Description

@besok

The test itself is not fully correct (@.* can return 1 node). Anyway, need to figure out the validation.

The test comes from RFC compliance suite

{
      "name": "functions, length, non-singular query arg",
      "selector": "$[?length(@.*)<3]",
      "invalid_selector": true,
      "tags": [
        "function",
        "length"
      ]
    },

The same check applies to
functions, length, non-singular query arg, multiple index selectors
and
functions, length, non-singular query arg, multiple name selectors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions