Schemas and Types
Explore how to build GraphQL schemas by defining object types and root queries and mutations in a Deno application. Understand data models involving Book, Author, and Review entities, and see how to use oak-graphql to configure your schema effectively.
We'll cover the following...
We'll cover the following...
Data model
Now let’s take a look at how we can create a GraphQL schema with Deno with the help of an example. Let’s consider three entities:
- Book: A book is written by an
Author, and it has atitle,description,price, andidentifier. - Author: An author can write many books and