I have a file in my database stored using GridFS and the mongoDB gives me a chunks
and a files
.
chunks
_id: <int>
files_id: <int>
n: 0,
data: Binary(<string>, 0)
files
_id: <id>
length: <int>
chunkSize: <int>
uploadDate: <date>
filename: <string>
md5: <string>
Is there a way to download this file in the client through GraphQL? Like for example returning a chunk and converting it in the frontend side for the client to download? Or maybe a way send a file directly to graphql and make the client download it (so far everything points that it's not possible)?
Please guide me. Thanks!