appsmithorg / appsmithorg/appsmith
[Task]: UQI: refactor code to separate out `AND` and `OR` operators form the rest of the operators
Open
Backend
Integrations Product
Query & JS Pod
Query Forms
Query Widgets & IDE Pod
Task
- Dominant language
- TypeScript
- Stars
- 40.9k
- Forks
- 4.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 45
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### SubTasks
Currently the `AND` and `OR` operators used in `where` clause are defined in the same enum type as other operators like `EQ`, `NEQ` etc. It would be good to keep the `AND`, `OR` operators in a separate enum type since they are logical operators unlike the comparison operators. Keeping them in the same enum types can lead to potential mixing up of these operators when writing code hence causing bugs.
Contributor guide
Assessment
This issue has not been assessed yet.