John Smeeth
03/04/2019, 2:31 PMtype Query {
countries: [Country!]!
}
type Mutation {
createCountry(input: CountryCreateInput!): Country
}
# input
input CountryCreateInput {
name: String!
code: String!
}
scalar DateTime
scalar Json
type Country {
name: String!
code: String!
images: [Json!]!
createdAt: DateTime!
}