Deploy Functions with NO TYPE CHECK Flag on default #6749
Unanswered
christianbm1
asked this question in
Feature Requests
Replies: 1 comment
|
Just to give an example: Stripe is not fully compatible with Deno and cannot be deployed via the Supabase CLI without adding Reference: #10543 (comment) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I have a function with some type checking issues. The issues are in the libraries that I'm importing, and I couldn't fix them. Locally, using Deno alone, my function runs smoothly when adding the "--no-check" flag. Additionally, my function successfully deploys and works when deploying to Deno's Deploy service. By default, Deno's service automatically adds the no-check flag.
This is not the case for Supabase. Supabase doesn't add this flag for both running locally and on deploy. However, I was able to get around this by manually adjusting the golang Supabase CLI code to force add the no-check flag.
Seeing as Deno Deploy's service doesn't do type check, should the default for Supabase be to add the "no-check" flag for serving locally and on deploy as well? Or, at a minimum, can we have the ability to add this flag at the user's request when running the serve/deploy commands through the sb CLI?
Deno no type checking flag was added to be the default in their v1.21 - can read their blog here: https://deno.com/blog/v1.21
Thanks,
Christian
All reactions