graphql-composition 0.12.2

An implementation of GraphQL federated schema composition
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extend schema
  @link(url: "https://specs.apollo.dev/federation/v2.7",
        import: ["@key", "@authenticated"])

type Car @key(fields: "id") {
  id: String! @authenticated
  year: Int!
  km: Int!
}

type Query {
  cars: [Car!]! @authenticated
}