-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement support for [data_blobs]
/Data modules for service-workers
#740
Comments
I don't think this is critical for 2.0 (since no one uses it at all anyway), but would be nice to have to round out the module system support. Added it to the 2.0 milestone anyway. |
And of course, we should also add support in miniflare for this. |
threepointone
added a commit
that referenced
this issue
Mar 31, 2022
This implements `[data_blobs]` support for service-worker workers, as well as enabling Data module support for service-worker workers. `data_blob` is a supported binding type, but we never implemented support for it in v1. This implements support, and utilises it for supporting Data modules in service worker format. Implementation wise, it's incredibly similar to how we implemented `text_blobs`, with relevant changes. Partial fix for #740, pending local mode support.
threepointone
added a commit
that referenced
this issue
Mar 31, 2022
This implements `[data_blobs]` support for service-worker workers, as well as enabling Data module support for service-worker workers. `data_blob` is a supported binding type, but we never implemented support for it in v1. This implements support, and utilises it for supporting Data modules in service worker format. Implementation wise, it's incredibly similar to how we implemented `text_blobs`, with relevant changes. Partial fix for #740, pending local mode support.
threepointone
added a commit
that referenced
this issue
Mar 31, 2022
This implements `[data_blobs]` support for service-worker workers, as well as enabling Data module support for service-worker workers. `data_blob` is a supported binding type, but we never implemented support for it in v1. This implements support, and utilises it for supporting Data modules in service worker format. Implementation wise, it's incredibly similar to how we implemented `text_blobs`, with relevant changes. Partial fix for #740, pending local mode support.
Merged
Filed cloudflare/miniflare#231 with an implementation PR cloudflare/miniflare#232 for miniflare |
Pending #416 (comment) |
Repository owner
moved this from In Review
to Done
in workers-sdk
Apr 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turns out we do actually have internal support for binding a
data_blob
to a service worker. We should leverage it and adddata_blobs
/Data module support for service-workers.The text was updated successfully, but these errors were encountered: