Commit 9c623e5e authored by alexlbr's avatar alexlbr

updates bonus

parent 24fcc9c0
...@@ -51,7 +51,18 @@ We are going to create our own GraphQL API on top of this [Rick and Morty API](h ...@@ -51,7 +51,18 @@ We are going to create our own GraphQL API on top of this [Rick and Morty API](h
### Bonus ### Bonus
Create a field in Episode that returns a list the Character types in that episode using the [REST API](https://rickandmortyapi.com/documentation/#rest) - Create the types and resolvers so the following query works:
```
query episode {
episode(id: 1) {
name
characters {
name
}
}
}
```
## Articles and links ## Articles and links
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment