FeatureFuel
2

Allow New Lines in supabase client Select Statements

Source: supabase/supabase#26746 · opened by @swamidass
The select strings are excellent and useful in supabase, allowing embedded resources. However, this creates very nested strings:



This can can become very long. Ideally, we would be able to format these strings with returns and spaces so they can be better understood by normal humans:




That's readable, and we remove the new lines and the extra whitespace, it works as a supabase select string. However, the newlines all cause parser exceptions, so it can't be used.

Workarounds I've tried don't work. Creating a string like this and replacing the newlines with spaces works great at runtime, but it breaks typscript type inference. So that isn't really workable.

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