You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
161 B
GraphQL
14 lines
161 B
GraphQL
1 year ago
|
type Pet @key(fields: "id") {
|
||
|
id: ID!
|
||
|
name: String!
|
||
|
}
|
||
|
|
||
|
extend type User @key(fields: "id") {
|
||
|
id: ID!
|
||
|
pets: [Pet!]!
|
||
|
}
|
||
|
|
||
|
type Query {
|
||
|
pet(id: ID!): Pet
|
||
|
}
|