Skip to content

Commit 8243f13

Browse files
committed
upates readme
1 parent 0bac117 commit 8243f13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ We are going to create our own GraphQL API on top of this [Rick and Morty API](h
3232

3333
- [ ] 1. Create a `Character` type in your schema. Use the [documentation of the character endpoint](https://rickandmortyapi.com/documentation/#character-schema) to define the shape of the `Character` type.
3434

35-
- [ ] 1.1. Add a `characters` field to the Query type. You can replace the `books` field from Query type on line 32 with `characters` since we won't use books. The `characters` field should return an array of [Character].
36-
- [ ] 1.2. Add a `characters` resolver to the Query's resolvers. You can replace the `books` field from Query type on line 40 with `characters` since we won't use books. You can return the mock characters array which is in the scope and defined at the bottom of the file index.js.
35+
- [ ] 1.1. Add a `characters` field to the `Query` type. You can replace the `books` field from Query type on line 32 with `characters` since we won't use books. The `characters` field in the `Query` type should return an array of [Character].
36+
- [ ] 1.2. Add a `characters` resolver to the Query's resolvers. You can replace the `books` field from Query type on line 40 with `characters` since we won't use books. You can return the mock characters array (which is in the scope and defined at the bottom of the file index.js) in the resolver function.
3737
- [ ] 1.3 You should be able to manually test the `characters` query in Playground at [http://localhost:4000/](http://localhost:4000/)
3838

3939
- [ ] 2. Create an `Episode` type in your schema. Use the [documentation of the episode endpoint](https://rickandmortyapi.com/documentation/#episode-schema) to define the shape of the `Episode` type. Here you are practicing what you've learned on the previous task (1).
4040

41-
- [ ] 2.1. Add an `episodes` field to the Query type. The `episodes` field should return an array of [Episode]
42-
- [ ] 2.2. Add an `episodes` resolver to the Query's resolvers. You can return the mock episodes array which is in the scope and defined at the bottom of the file index.js.
41+
- [ ] 2.1. Add an `episodes` field to the `Query` type. The `episodes` field should return an array of [Episode]
42+
- [ ] 2.2. Add an `episodes` resolver to the Query's resolvers. You can return the mock episodes array (which is in the scope and defined at the bottom of the file index.js) in the resolver function.
4343
- [ ] 2.3 You should be able to manually test the `episodes` query in Playground at [http://localhost:4000/](http://localhost:4000/)
4444

4545
- [ ] 3. Replace the mock data using https://rickandmortyapi.com/documentation/#rest.

0 commit comments

Comments
 (0)