Skip to content

Commit

Permalink
Shareable example
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick authored Apr 12, 2024
1 parent 5591cc1 commit c1ca88e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions rfcs/test-cases/shareable-basic/federation/a.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
extend schema
@link(
url: "https://specs.apollo.dev/federation/v2.5",
import: ["@key", "@shareable"]
)

type Query {
locations: [Location!]!
}

type Location @key(fields: "id") {
id: ID!
name: String!
description: String! @shareable
}

0 comments on commit c1ca88e

Please sign in to comment.