FeatureFuel
1

`supabase.functions.invoke()`: Return data with error

Source: supabase/supabase#11886 · opened by @cohlar
When invoking an edge function with the supabase client, we receive either data (if status code is 2XX) or error, but never both.
However sometimes it is useful to return meaningful data together with an error status code. For example APIs with limited tokens would return an object with the number of remaining tokens and the token refill rate under status code 429.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests