Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Add support for binary data fields#190

Merged
mattjohnsonpint merged 2 commits intomainfrom
mjp/arraybuffer
May 13, 2024
Merged

Add support for binary data fields#190
mattjohnsonpint merged 2 commits intomainfrom
mjp/arraybuffer

Conversation

@mattjohnsonpint
Copy link
Contributor

This correctly projects fields defined as ArrayBuffer in AssemblyScript to be interpreted as []byte in the Runtime, and then projected as base64-encoded String fields in GraphQL.

This is primarily to support binary content in HTTP responses, such as images or audio.

Part of HYP-1192

@mattjohnsonpint mattjohnsonpint requested a review from a team May 13, 2024 16:52
@linear
Copy link

linear bot commented May 13, 2024

@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) May 13, 2024 16:53
@mattjohnsonpint mattjohnsonpint merged commit 5e946f3 into main May 13, 2024
@mattjohnsonpint mattjohnsonpint deleted the mjp/arraybuffer branch May 13, 2024 16:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants