-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Setup:
- I am using SimpleIdServer.Scim.Parser.SCIMFilterParser to parse filter strings into a SCIM Expression tree.
using SimpleIdServer.Scim.Parser
var filter = ( username eq 'suraj' ) and (( id eq 123 ) or ( id eq 456 ))
SCIMFilterParser.Parse(filter)
Expected:
( id eq 123 ) or ( id eq 456 )
will be evaluated first, followed by a AND with( username eq 'suraj' )
- SCIM Expression tree :
AND
/ \
userName eq OR
'Suraj' / \
id eq id eq
123 456
Actual:
-
( username eq 'suraj' ) and ( id eq 123 )
is evaluated first followed by a OR with( id eq 456 )
-
Resulting SCIM Expression tree :
OR
/ \
AND id eq
/ \ 456
username eq id eq
'Suraj' 123
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working