jetstreamapp / soql-parser-js

Javascript SOQL parser
https://jetstreamapp.github.io/soql-parser-js/
MIT License
79 stars 20 forks source link

Fix incorrect parsing for NOT negation #238

Closed paustint closed 10 months ago

paustint commented 10 months ago

Ensure that all expressionNegation entries are visited instead of just the first one in the case where there aer multiple negations in a row

Removed NOT IN keyword in lexer to avoid false positives for identifiers (fields) that start with In preceded by NOT

Enable typescript strict mode to help enforce handling data properly - this required many minor updates.

Improved visitor types to better express actual shape of context

resolves https://github.com/jetstreamapp/soql-parser-js/issues/237