From c1ca88ec0152db8ca827ed70cb621047c9558218 Mon Sep 17 00:00:00 2001 From: Shane Myrick Date: Fri, 12 Apr 2024 16:08:57 -0700 Subject: [PATCH] Shareable example --- .../shareable-basic/federation/a.graphql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rfcs/test-cases/shareable-basic/federation/a.graphql diff --git a/rfcs/test-cases/shareable-basic/federation/a.graphql b/rfcs/test-cases/shareable-basic/federation/a.graphql new file mode 100644 index 0000000..9346427 --- /dev/null +++ b/rfcs/test-cases/shareable-basic/federation/a.graphql @@ -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 +}