I'm working with Minio and graphql in NodeJS and I'd like to set up a dataloader for my minio resources.
I'm aware of the statObject function that lets me get the metadata of a resource by providing the bucket and name of the resource.
I'd like to be able to pass in multiple names and essentially get an array containing the metadata of the objects with the names I passed.
For example, something like:
const objectNames = ['a.txt', 'b.txt', 'c.txt'];
minioClient.statObjects('bucket', objectNames, (err, res) => {});
I haven't found anything like this in the documentation or when I was searching on the web. Does something like this exist?