safeql
safeql copied to clipboard
Enum mapping doesn't being recognized when used in a query
Describe the bug
When defining in .eslintrc.js file under overrides.types a mapping of an enum, safeql doesn't recognize it when the enum is used in a query (and not as a type).
The .eslintrc.js file:
The error:
To Reproduce Use a enum as a parameter of a query
Expected behavior No error should appear
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: iOS
- PostgreSQL version: 15
- Version: 0.1.0
It seems like I didn't take into consideration enums. I'll push a fix today or in a few days