Mark R. Florkowski
Mark R. Florkowski
We are working with Vercel to find a path forward on this. It seems that it may be an edge case in Turbopack, and not an issue with Uploadthing packages...
Can confirm this is an issue. We currently have a unique constraint on appId + customId, and deleted file records (just db row, not files) are retained for a period...
The file buffers aren't available in the middleware to avoid server ingress/egress costs. To achieve what you need, you'd either need to process files client-side or have your own server...
@romoguill Alternatively, you can pass that information in the `input` from the client, however it is possible a malicious user could mess with that data. [docs](https://docs.uploadthing.com/file-routes#input) For a guarantee of...
perf not better enough, and cost is not a concern for us right now.
I'll bring this up with the team. Our design assumes you'd store the necessary data in your own database, which is typically faster than retrieving it via an API call—hence...
Update examples and turbo.json. Keep old (incorrect) variable as a potential fallback to prevent issues for anyone who worked around this previously
Needs docs and examples.
I hadn't seen it in the react package, but yeah this sounds like the same issue