hasura / hasura/graphql-engine

Join tables showing up in graphql schema is weird

Open
#8,012 0 comments 0 reactions 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Is your proposal related to a problem?
no, but join tables showing up in a graphql schema on the frontend is weird and not how anyone would write their schema, given the choice.
### Describe the solution you'd like
An abstraction that lets you mark a join table as a "Join Table", or simply the ability to set up a relationship that passes through multiple tabes. starting table -> join table foreign key for starting table -> join table foreign key for final table -> final table
### Describe alternatives you've considered

### If the feature is approved, would you be willing to submit a PR?
Insufficient domain specific knowledge for me to do that

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.