You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a [batch resource](https://www.codementor.io/blog/batch-endpoints-6olbjay1hd) that accepts a list of users (`user_ids`) and returns a list of corresponding user objects (`Array<UserInfo>`).
118
118
119
-
For the DataLoader version of this, we'll want to instead ask for a _single_ user
119
+
For the DataLoader version of this, we'll want to instead ask for a **single** user
120
120
object at a time. This means we need to transform the interface in the following
121
121
ways:
122
122
123
-
1. Call `.load` with the same arguments, but switch "user*ids" to "user_id".
124
-
(\_Because we're only asking for the one user!*)
123
+
1. Call `.load` with the same arguments, but switch "user_ids" to "user_id".
125
124
126
125
2. Return a _single_ `UserInfo` object from `.load`, instead of an _array_ of
0 commit comments