Commit a25c383d authored by alexlbr's avatar alexlbr

updates readme question 3

parent 93baa112
...@@ -36,7 +36,7 @@ We are going to create our own GraphQL API on top of this [Rick and Morty API](h ...@@ -36,7 +36,7 @@ We are going to create our own GraphQL API on top of this [Rick and Morty API](h
- [ ] 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. Here is the [documentation of the episode endpont](https://rickandmortyapi.com/documentation/#episode-schema). 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 example [https://www.apollographql.com/docs/apollo-server/essentials/data#resolver-map](map) the episodes - 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. - You can filter the episodes in our case using the `mapEpisodeUrlToEpisode` defined at the bottom of this file `src/index.js` of this project.
- [ ] 4. Replace the mock data using https://rickandmortyapi.com/documentation/#rest. - [ ] 4. Replace the mock data using https://rickandmortyapi.com/documentation/#rest.
......
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