Commit 24fcc9c0 authored by alexlbr's avatar alexlbr

updates question 3 in readme

parent a25c383d
......@@ -34,7 +34,7 @@ We are going to create our own GraphQL API on top of this [Rick and Morty API](h
- [ ] 2. Create an Episode type in your schema. Here is the [documentation of the episode endpont](https://rickandmortyapi.com/documentation/#episode-schema).
- [ ] 3. Create a relationship between Episode type in your schema. Here is the [documentation of the episode endpont](https://rickandmortyapi.com/documentation/#episode-schema). Hints
- [ ] 3. Create a relationship between Episode type in your schema. Please have a look at the [documentation of the episode endpont](https://rickandmortyapi.com/documentation/#episode-schema) to see how to get the episodes of a given character (heads up! we are calling the field in Characters `episodes` but the REST API is calling it `episode`). Hints
- You need to add a Character type in the resolvers object and an episodes field to it. Similar to the Author type and books field in the [documentation](https://www.apollographql.com/docs/apollo-server/essentials/data#resolver-map)
- You can filter the episodes in our case using the `mapEpisodeUrlToEpisode` defined at the bottom of this file `src/index.js` of this project.
......
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