graphql-composition 0.12.2

An implementation of GraphQL federated schema composition
Documentation
extend schema @link(url: "https://specs.birds.co.uk/link/birds", import: ["@pelagic"])

type Bird @shareable @fieldMarks(plumage: "juvenile") @fieldMarks(plumage: "adult") {
  id: ID!
  name: String!
  species: String!
  observedAt: DateTime! @deprecated
  location: String!
  notes: String @deprecated(reason: "Use `birdSighting` field instead.")
}

type BirdSighting @key(fields: "sightingID") @deprecated(reason: "we haven't seen any birds in a while :(") {
  sightingID: ID!
  bird: Bird! @pelagic
  observer: String!
  weatherConditions: String
}

type Query {
  birdSightings: [BirdSighting]
  birdSighting(sightingID: ID!, private: Boolean @deprecated): BirdSighting
}

schema @composeDirective(name: "@pelagic") @composeDirective(name: "@fieldMarks") {
  query: Query
}