Skip to content

RelationExpression.toString does not round-trip recursion with a modifier or alias #2812

Description

@Noethix55555

RelationExpression.toString appends the recursion suffix (.^, .^N, .*) before the $modify modifier and alias, but the grammar requires name, args and alias before the recursion subexpression. So a(f1).^ serializes to a.^(f1) (modifier dropped on reparse) and a as b.^ to a.^ as b (mis-parsed).

PR: #2810

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions