Skip to content

Commit

Permalink
Added more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Mar 28, 2024
1 parent 0ebb2f8 commit d7f48be
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type Query {
a: String
}

extend interface Node @key(fields: "id") {
interface Node @key(fields: "id") {
id: ID!
name: String
}
13 changes: 13 additions & 0 deletions rfcs/test-cases/basic-interface-usage/composite/b.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type Query {
b: String
node(id: ID!): Node @lookup
}

interface Node {
id: ID!
}

type User implements Node @key(fields: "id") {
id: ID!
name: String
}
8 changes: 8 additions & 0 deletions rfcs/test-cases/basic-interface-usage/federation/a.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type Query {
a: String
}

interface Node @key(fields: "id") {
id: ID!
name: String
}

0 comments on commit d7f48be

Please sign in to comment.