hasura / hasura/graphql-engine

Support Apollo federation @key for unique key columns

Open
#9,382 0 comments 0 reactions 0 assignees View on GitHub
k/enhancement t/product-platform
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Describe the solution you'd like

When I enable Apollo Federation on a table I would like a `@key` for the primary key but also would like `@key` for each unique column key as well. `@key` is a repeatable directive so a entity/table may have multiple keys

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue, so first locate the Apollo Federation implementation and its handling of table primary and unique columns. Done means an entity can expose an Apollo Federation @key for its primary key and for each unique column key, with multiple repeatable @key directives supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.