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
14
15
16
17
extend schema
    @link(
        url: "https://specs.apollo.dev/federation/v2.3",
        import: [{ name: "@shareable" }, "@inaccessible"]
     )

type Query @shareable {
  getRollerCoaster(id: ID!): RollerCoaster @shareable
}

type RollerCoaster @shareable {
  id: ID!
  name: String!
  height: Float! # height in meters
  speed: Float! # speed in km/h
  manufacturer: String!
}