This Spring Boot application provides a GraphQL API for managing authors and books.
type Author {
id: ID!
name: String
books: [Book]
}
mutation CreateAuthor($author: AuthorInput){
createAuthor(author: $author) {
# Data to be returned.
name
}
}
{
"author": {
"name":"Kumbhojkar"
}
}