edge-runtime
edge-runtime copied to clipboard
Need a way to set flags for Deno
Bug report
- [x] I confirm this is a bug with Supabase, not with my own application.
- [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Some Deno features are locked behind an --unstable
flag. There doesn't seem to be a way to set it for edge functions.
This is a recreated issue that was registered for supabase CLI: https://github.com/supabase/cli/pull/1139
To Reproduce
Unable to use Deno.createHttpClient()
because it's behind an --unstable
flag. When serving the function the function is said to be missing.
Expected behavior
A way to set Deno flags or support for unstable features.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS: Windows
- Version of supabase-js: 1.110.1
- Version of Node.js: v18.17.1
Here's a link to the list of unstable Deno features: https://docs.deno.com/runtime/manual/tools/unstable_flags
Examples include Deno.cron()
and Deno KV.
@inian can we get a target date to support Deno.createHttpClient()
, related to #208, #210 and #1139
hey there, not sure if this is the right place, but Is there any way to set deno flags while starting supabase in local with supabase start
??
I want to pass --allow-net --unsafely-ignore-certificate-errors fetch.ts
while starting the supabase. As it's failing to start due to TLS verification.
hey there, not sure if this is the right place, but Is there any way to set deno flags while starting supabase in local with
supabase start
??I want to pass
--allow-net --unsafely-ignore-certificate-errors fetch.ts
while starting the supabase. As it's failing to start due to TLS verification.
@JayMGurav Supabse discussions would be more appropriate for you question. Here's one that is relevant: https://github.com/orgs/supabase/discussions/14604