hasura / hasura/graphql-engine

Support column-versions of all permission filter operators

Open
#7,432 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

The selection of permission BoolExp operators that support column values on their rhs seems quite arbitrary. For example, why support `_like` but not `_clike`?

Looking at the code, it looks like implementing more column operators might be as simple as a very mechanical update to [the parser](https://github.com/hasura/graphql-engine/blob/a63fa18d9c2f96917966a8df3168d15b1b490267/server/src-lib/Hasura/Backends/Postgres/DDL/BoolExp.hs) and [the translator](https://github.com/hasura/graphql-engine/blob/a63fa18d9c2f96917966a8df3168d15b1b490267/server/src-lib/Hasura/Backends/Postgres/Translate/BoolExp.hs).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.