mirumee / ariadne-graphql-proxy

Ariadne toolkit for building GraphQL proxies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CloudFlare worker

rafalp opened this issue · comments

We could have an contrib.cloudflare module/package exporting a function for easy AGP worker creation for cloudflare, eg:

from ariadne_graphql_proxy.contrib.cloudflare import create_cf_worker


worker = create_cf_worker(...)

Cloudflare workers don't properly support python, they require js/ts. The solution mentioned here compiles python to js, but it lacks most of the standard library and focuses on js libraries. So for now I'm closing this issue.

Yup. We should focus on alternatives that are Python-native, and only then move on to more complex alternatives like transpiling (which sound like something that has no right to work for project of our complexity).