15five / scim2-filter-parser

A customizable parser/transpiler for SCIM2.0 filters
Other
23 stars 8 forks source link

Issue with comparision operators #23

Open mohankumaru opened 3 years ago

mohankumaru commented 3 years ago

Hi @logston ,

RFC 7644, page no 17 and 18 says,

"gt, ge, lt, le using these operators on Boolean and Binary attributes SHALL cause a failed response (HTTP status code 400) with "scimType" of "invalidFilter"."

But, I tried following query,

"active lt \"true\""

and got this condition as output , active < "TRUE"

There should be an exception here right?

logston commented 3 years ago

Hey! Good find!

Do you want to issue a PR with tests to fix this? If not, I can address this in the coming weeks.