type Todo @model {
  id: ID!
  name: String!
  description: String
  comments: [Comment] @hasMany
}

type Comment @model {
  id: ID!
  content: String
  todo: Todo @hasOne
}

type commentConnection {
  items: [Comment]
  nextToken: String
}

type Query {
  commentsForTodo(todoId: ID!, limit: Int, nextToken: String): commentConnection
}
