There is a way to enable unstable flag to Edge Fun...
# help-and-questions
t
I need to make authenticated fetch API calls through TLS using certificates, the only way that I found to make it is to use the unstable
Deno.createHttpClient
function. It works locally, but when I deployed to supabase at runtimes it throws an error
Deno.createHttpClient is not a function
. My guess is that it may be that supabase edge functions by default do not come with the
unstable
flag as
true
. Is there a way to make this work?
o
Hi Locally, you can use any of your runtime, because it's a dev environment. However, i don't think there is an option to enable to unstable flag, because as the flag says, it's unstable, not the best for a production environment.
I see some people are also trying to enable the unstable flag in prod, the best thing to do is to create a new discussion on Github named "A unstable flag toggle for prod" (or equivalent) so the team can give their feedback about the idea
You already did a Github discussion, but yours is about a specific problem
t
Thanks for answering, did you know maybe how can I workaround this? Using certificates in fetch requests it's kind important
o
No idea honestly :/