Skip to content

Add base64_encoded_blob field

Gavin Hinfey requested to merge 388196-add-base64-blob-field into master

What does this MR do and why?

Add a graphql field to return blobs encoded base64.

Currently blobs are encoded UTF-8 when served via GraphQL. Here we serve the raw blob encoded base64 to maintain their integrity. This solves a problem where non UTF-8 encoded blobs can become malformed.

See #388196 for more information.

This MR is an iteration on a previous attempt at resolving this issue by escaping incompatible characters. That solution was found not to be suitable. I have removed references to that and updated with the new solution in this MR.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshot_2024-05-16_at_11.21.44

Related to #388196

Edited by Gavin Hinfey

Merge request reports