-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
c/relayRelated to GraphQL RelayRelated to GraphQL Relayc/v3-engineV3 Metadata and EngineV3 Metadata and Enginek/v3-backlogv3
Milestone
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.
TrySound, JosieMcClellan, mrjbj, tsnobip, aakside and 26 more
Metadata
Metadata
Assignees
Labels
c/relayRelated to GraphQL RelayRelated to GraphQL Relayc/v3-engineV3 Metadata and EngineV3 Metadata and Enginek/v3-backlogv3