mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-06-16 02:14:28 +08:00
Add note about writing resolvers in the next section
This commit is contained in:
committed by
Peggy Rayzis
parent
aecb488612
commit
dfea2af39a
@@ -380,4 +380,6 @@ In the `getUsersByLaunch` method, a `launchId` is accepted via the method argume
|
||||
|
||||
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.
|
||||
|
||||
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!
|
||||
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!
|
||||
|
||||
In the next section of this tutorial, we'll write our resolvers!
|
||||
Reference in New Issue
Block a user