Cory
Explore posts from serversDTDrizzle Team
•Created by Cory on 1/17/2025 in #help
Place relations into seperate file?
When I put relations into it's own file such as
relations.ts
and also have schema.ts
and then do...
it seems to be give me type issues2 replies
DTDrizzle Team
•Created by Cory on 12/7/2024 in #help
Why does drizzle.config.ts have trouble recongizing my db url by not individual credentials?
When I use the
url
property to connect to my instance, I get an error saying it can't authorize the db user, but when I use the individual parameters such as, host
, post
, user
, pass
etc... it works.
It's as if it's not reading the enviorment variable correct. Does anyone else have epxerience with the same issue and have found a solution to just using the url
parameter?1 replies
CDCloudflare Developers
•Created by Cory on 10/23/2024 in #workers-help
Is there any way to have getPlatformProxy access remote data?
I want to use getPlatformProxy create a remote proxy so it uses actual data from my cf account instead of just mimmicking locally. Is it possible to do this?
1 replies
CDCloudflare Developers
•Created by Cory on 10/19/2024 in #workers-help
Is it possible to use the Rate Limit API within an app created with Astro?
I am trying to use the new beta rate limit API in my application that is created using Astro. I understand how the runtime api and context works - but it seems to fail when trying to use the new Rate Limit API. Is there an example of this somewhere, or is it not possible?
1 replies
CDCloudflare Developers
•Created by Cory on 4/12/2024 in #pages-help
How to enable unsafe binding in config
I am getting this error:
Configuration file for Pages projects does not support "unsafe"
5 replies
CDCloudflare Developers
•Created by Cory on 4/10/2024 in #pages-help
Support for separate wrangler.toml files in monorepo?
When using the new wrangler.toml support with Pages and new mono-repo support, Cloudflare seems to only look for the wrangler.toml file at the root directory (even if root directory is manually changed). I would like to have a seperate wrangler.toml for each Pages project within my mono-repo.
6 replies
CDCloudflare Developers
•Created by Cory on 4/10/2024 in #general-help
How do I use multiple wrangler.toml with different projects in a mono-repo?
When I have my wrangler.toml in the directory of my app aka...
apps/site/wrangler.toml
It does not seem to know it's there. Putting it in the root directory of the project works - but I want to have seperate wrangler tomls for different projects - how can I do this?10 replies
DTDrizzle Team
•Created by Cory on 2/27/2024 in #help
isNotNull() returning incorrect Type
The following code...
Returns an array of objects where "trashedAt" is a
Date | Null
but this is not possible because I am using where isNotNull()
1 replies
CDCloudflare Developers
•Created by Cory on 2/12/2024 in #workers-help
When running fetch to transform an image, it ignoring the "format" but only within my code
If I navigate to the URL directly, it formats it to
webp
, but if I use 'fetch' from within my sveltekit function, it doesn't convert it - is there a reason for this?6 replies
DTDrizzle Team
•Created by Cory on 2/8/2024 in #help
If I pass an object with a property that has 'undefined' as the value, will it be ignored?
If I am updating or inserting data and passing an object, for instance:
Will ID be ignored and not set?
3 replies
CDCloudflare Developers
•Created by Cory on 2/1/2024 in #workers-help
Not image transforms not support transforming a AVIF image as the source?
Wondering whether I should accept AVIF image files, but it seems like it's not supported when trying to transform it
3 replies
CDCloudflare Developers
•Created by Cory on 1/25/2024 in #general-help
Why does "service bindings" link go to D1 page

1 replies
CDCloudflare Developers
•Created by Cory on 12/12/2023 in #general-help
Can't access worker "route" from inside SvelteKit worker function
I have a worker that uploads images to R2, and I call it via a fetch via an API route in my SvelteKit application. I have a custom "route" assigned to it, that is in the same zone as the SvelteKit application (hosted on Cloudflare). It only works when I fetch the original URL
.workers.dev
, and not the custom one I have set up which is essentially site.com/image-upload/*
even though if I go tot he URL via the browser, it works fine.
is there a solution i ammissing here?4 replies