Hi, I’m trying to process the whole result from this dataloader. The current implementation, decrypt function, makes an external API call, but does this for every user, if I have 1000 members this will be a bottle neck. It’s there a way to fetch the whole result of users and then based on each name, make just one external api call and then pipe the transformation to continue?
object :member do
field :id, :id
field :user_id, :id
field(:user, list_of(:user), resolve: dataloader(
Accounts, callback: fn account, parent, args ->
decrypt(account) # Doing an HTTP request instead for all accounts
end
))