will smith
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
If you're using Pages, it must be in a separate service.My workflow must be in a separate service right? So to do anything server-related don't I need the same server-related stuff that's already in my pages app? e.g. DB credentials, email template, types. To be clear, today I have a remix pages app. What I'm understanding is I can't add workflows to my service, so the recommendation is deploy a separate service with the workflow and call that from my existing service.
17 replies
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
Fair enough. Just my feedback as a user, it doesn't seem like I should keep on pages long-term. I was already missing out on cron triggers, and now this. Calling a separate app (duplicating my backend setup into a different worker) is a non-starter for my projects.
I'm not saying Cloudflare is forcing me to migrate off, but if I want the new goodies, it sounds like I should.
17 replies
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
The Pages binding is fairly straightforward though + you don’t need to “maintain” it.To make sure I'm not misunderstanding, this is deploying the separate workers service with your workflow and calling it from pages right? Not solving the problem I mentioned where all my backend code is already in my pages app? Want to make sure I'm not missing something
17 replies
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
Ah ok. Can I bank on using 1 service in the future with the converging of workers and pages?
Should I be getting off pages altogether eventually?
17 replies
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
thanks for the help. @Matt I'm not looking to put it in a different worker, I want access to all the same stuff in my server (db, email-sending, types etc.).
How can I keep the workflow in the same service?
17 replies
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
It's also highly possible I'm doing it wrong, trying to follow this: https://developers.cloudflare.com/workflows/build/call-workflows-from-pages/
17 replies
CDCloudflare Developers
•Created by will smith on 2/7/2025 in #workflows-beta
is `npx wrangler types` supposed to work
It feels like the guides are super targeted at going from scratch. I'm adding them into my remix app on pages
17 replies
CDCloudflare Developers
•Created by telliks on 12/4/2024 in #workflows-beta
DLQ Equivalent
had the exact same question, looking for a dead letter q. What's the best practice here?
3 replies