Skip to content
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

CFW: Create a prototype of the generated Prisma Client that runs inside Cloudflare Workers #8884

Closed
Tracked by #8883
matthewmueller opened this issue Aug 24, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@matthewmueller
Copy link
Contributor

matthewmueller commented Aug 24, 2021

  • Connects to the data proxy
  • Not all generated node.js-specific code needs to be stubbed out or removed, just the parts that execute.
@matthewmueller matthewmueller changed the title Create a hacky version of the generated Prisma Client that runs inside Cloudflare Workers CFW: Create a hacky version of the generated Prisma Client that runs inside Cloudflare Workers Aug 24, 2021
@matthewmueller
Copy link
Contributor Author

matthewmueller commented Aug 24, 2021

Random Idea: re-bundle the generated client using esbuild with its https://esbuild.github.io/api/#inject feature to stub out any Node.js specific stuff we encounter while trying to execute on Cloudflare Workers.

@matthewmueller matthewmueller added this to the 2.31.0 / 3.0.x milestone Aug 24, 2021
@matthewmueller matthewmueller changed the title CFW: Create a hacky version of the generated Prisma Client that runs inside Cloudflare Workers CFW: Create a throwaway prototype of the generated Prisma Client that runs inside Cloudflare Workers Aug 26, 2021
@matthewmueller matthewmueller modified the milestones: 2.31.0 / 3.0.x, 3.1.0 Sep 7, 2021
@matthewmueller matthewmueller changed the title CFW: Create a throwaway prototype of the generated Prisma Client that runs inside Cloudflare Workers CFW: Create a prototype of the generated Prisma Client that runs inside Cloudflare Workers Sep 21, 2021
@matthewmueller matthewmueller modified the milestones: 3.1.0, 3.2.0 Sep 21, 2021
@millsp millsp closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants