Skip to content

Conversation

@sevki
Copy link

@sevki sevki commented Oct 31, 2025

The current wit RPC system is somewhat limited to only being able to handle primitive types. These changes add experimental support for using list types, aka Vec in Rust.

An open question is, should list be handled as a special case to being a ::worker::js_sys::Uint8Array.

The current wit RPC system is somewhat limited to only being
able to handle primitive types. These changes add experimental
support for using list types, aka Vec in Rust.

An open question is, should list<u8> be handled as a special
case to being a `::worker::js_sys::Uint8Array`.
@guybedford
Copy link
Collaborator

Because RPC supports much more complex types such as functions and pipeline promises, steadily increasing surface area here doesn't actually get us to parity.

We are currently exploring TypeScript RPC generation that can fully capture the semantics of what we support today, and hope to have an update on this in the coming weeks.

@sevki sevki closed this Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants