GraphQL API Federation, compound keys

Hello! I have a question about Tyk GraphQL API federation.

Does Tyk support compound keys (nested key fields) as shown in the example below:

type User @key(fields: "id organization { id }") {
  id: ID!
  organization: Organization!
}

type Organization {
  id: ID!
}

Please notice the composite entity key that consists of User.id and Organization.id when the latter one is specified by a nested field.

The example is taken from here: Advanced topics on federated entities - Apollo GraphQL Docs

Hi @Andrey_Nado, I am checking this internally and would get back to you

1 Like

No support for compound keys yet. We do have it on our list but there is no written roadmap.

Once there is an update, I will come back to update this thread.

2 Likes