Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot feed result from Path to Filter #12

Open
ostrolucky opened this issue Oct 7, 2024 · 0 comments · May be fixed by #13
Open

Cannot feed result from Path to Filter #12

ostrolucky opened this issue Oct 7, 2024 · 0 comments · May be fixed by #13

Comments

@ostrolucky
Copy link

I can see that when dumping, quotes are removed which causes filter parser to not work. At the same time, Path object has no other accessible methods/properties other than dump() function.

$filter = (new Parser(Mode::PATH()))->parse('roles[value eq "admin"]')->dump()['Path']['ValuePath'][1]['ComparisonExpression']; // string(14) "value eq admin");

(new Parser())->parse($filter); // [Syntax Error] line 0, col 9: Error: Expected comparision value, got 'admin'
ostrolucky added a commit to ostrolucky/scim-filter-parser that referenced this issue Oct 8, 2024
@ostrolucky ostrolucky linked a pull request Oct 8, 2024 that will close this issue
ostrolucky added a commit to eqsgroup/scim-filter-parser that referenced this issue Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant