Files
test-repo/tests/format/graphql/interface/interface.graphql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
617 B
GraphQL
Raw Normal View History

# https://github.com/graphql/graphql-spec/blob/master/spec/Section%203%20--%20Type%20System.md#interfaces
2017-06-27 19:30:58 -07:00
interface Actor {
id: ID
name: String
}
interface Resource implements Node
{
id: ID!
url: String
}
interface Resource implements
Node {
id: ID!
url: String
}
interface Image implements Resource
& Node {
id: ID!
url: String
thumbnail: String
}
interface Node implements Named &
Node {
id: ID!
name: String
}
interface Named implements
Node & Named {
id: ID!
name: String
}
# `InterfaceTypeExtension`
extend interface Bar implements
2022-05-08 20:20:34 +08:00
A& B & C {
two(argument: InputType!): Type
}