Skip to content

Commit dfea2af

Browse files
unicodeveloperpeggyrayzis
authored andcommitted
Add note about writing resolvers in the next section
1 parent aecb488 commit dfea2af

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/source/tutorial/data-source.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,4 +380,6 @@ In the `getUsersByLaunch` method, a `launchId` is accepted via the method argume
380380

381381
So, if the `userIds` variable is empty, then the `getUsersByLaunch` method returns an empty array. However, if the `userIds` variable is not empty, then users with those ids are fetched from the users table.
382382

383-
If no users were found, the `getUsersByLaunch` method returns an empty array, else an array of users with their respective `id`, `email` and `avatar` is returned!
383+
If no users were found, the `getUsersByLaunch` method returns an empty array, else an array of users with their respective `id`, `email` and `avatar` is returned!
384+
385+
In the next section of this tutorial, we'll write our resolvers!

0 commit comments

Comments
 (0)