advanced
advanced
Explore posts from servers
TtRPC
Created by advanced on 5/28/2024 in #❓-help
client unable to infer output types
I've found the issue I had import type { Context } from "@context"; in my import instead of ./Context not sure why ts didn't complain earlier. spent 5 hours total because of a single character.
3 replies
CDCloudflare Developers
Created by thornAvery on 2/21/2024 in #workers-help
Write to R2 with ReadableStream
I have yet to use the email handler so I'm not sure what an EmailObject is supposed to be. Have you tried creating a dummy stream and passing that to r2? I can attest that it's possible to use a stream as I have been doing it to transfer data from ftp using the tcp socket api. If you are willing to share your code maybe I can have a closer look
4 replies
CDCloudflare Developers
Created by thornAvery on 2/21/2024 in #workers-help
Write to R2 with ReadableStream
it's possible to use a readable stream in the put request. your code looks correct but I would check if message is correctly implementing the streaming interface. I assume message.raw is a readbleStream so try to use that in a basic handler like return new Request(readable,{headers}) and see if you are getting something back
4 replies
CDCloudflare Developers
Created by Alexey on 2/6/2024 in #workers-help
[Sentry] Workers bundle post-processing
if you do a wrangler deploy --dry-run sentry should be able to modify the files
4 replies
CDCloudflare Developers
Created by Alexey on 2/6/2024 in #workers-help
[Sentry] Workers bundle post-processing
I've worked with sentry source maps recently. you will need to upload the source maps using sentry cli which will add the debug id automatically when uploading
4 replies
CDCloudflare Developers
Created by advanced on 1/27/2024 in #workers-help
I have a question about worker services bindings.
that's wonderful
3 replies