Skip to content

Missing VisitNotExpression method #8

@michael-zaytsev

Description

@michael-zaytsev

Good day to you all!

Trying to create query from not contains(property/path, 'value'), I get the following log entry:

Unhandled node type: NotExpression Token {
  position: 20,
  next: 56,
  value: Token {
    position: 24,
    next: 56,
    value: { method: 'contains', parameters: [Array] },
    type: 'MethodCallExpression',
    raw: "contains(property/path, 'value')"
  },
  type: 'NotExpression',
  raw: "not contains(property/path, 'value')"
}

I found out that its reason is missing VisitNotExpression method in /src/visitor.ts.
As a result, I don't get expected query.

Package version: 0.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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