Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taako-502 committed Nov 23, 2023
1 parent d6bace8 commit 9c83d9f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions codegen/testserver/followschema/interfaces.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,14 @@ type ConcreteNodeInterface implements Node {
child: Node!
}

interface Mammalian implements Animal {
species: String!
size: Size!
}

# Types with multiple interfaces are evaluated first in the case statement
type Bird implements Animal & Node {
id: ID!
child: Node!
type House implements Mammalian & Animal {
species: String!
size: Size!
birdType: String!
houseBreed: String!
}
11 changes: 7 additions & 4 deletions codegen/testserver/singlefile/interfaces.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,14 @@ type ConcreteNodeInterface implements Node {
child: Node!
}

interface Mammalian implements Animal {
species: String!
size: Size!
}

# Types with multiple interfaces are evaluated first in the case statement
type Bird implements Animal & Node {
id: ID!
child: Node!
type House implements Mammalian & Animal {
species: String!
size: Size!
birdType: String!
houseBreed: String!
}

0 comments on commit 9c83d9f

Please sign in to comment.