Open
Description
Hasura's where clauses in relay only accept the database id, and not the relay id.
This causes a bunch of issues around querying.
If I want to get a project by the id. I must use the node
interface instead of the project_connection
interface. This means I lose a bunch of auto-complete that's built into different IDEs because they no longer know the data structure that is being returned.
If I want to find all assignments
by the project id, I can not query assignments_connection(where: {project_id: {_eq: }})
because it only accepts the database id and not the relay id.
When you are using relay on the frontend, you should only have to worry about the id relay uses. Not try to decipher the database ids.