1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
extend schema @link( url: "https://specs.apollo.dev/connect/v0.2" import: ["@connect"] ) type Query { me: User @connect(http: {GET: "http://127.0.0.1/me"}, selection: "id friends {id}") } type User { id: ID! friends: [User!]! }