We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supabase supports filtering RPC results via postgrest but the type system shows an error when attempting to do so
Errors show up as Property 'eq' does not exist on type 'PostgrestTransformBuilder<...> but the query still works as expected.
Property 'eq' does not exist on type 'PostgrestTransformBuilder<...>
Minimal reproduction is available in the gwax/rpc-filtering branch here: https://github.com/manapoolinc/supabase-playground/tree/gwax/rpc-filtering
gwax/rpc-filtering
Essentially:
const result = await supabase .rpc(...) .select(...) .eq(...); // <-- This causes the error
No Type Errors in reproduction code
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Describe the bug
Supabase supports filtering RPC results via postgrest but the type system shows an error when attempting to do so
Errors show up as
Property 'eq' does not exist on type 'PostgrestTransformBuilder<...>
but the query still works as expected.To Reproduce
Minimal reproduction is available in the
gwax/rpc-filtering
branch here: https://github.com/manapoolinc/supabase-playground/tree/gwax/rpc-filteringEssentially:
Expected behavior
No Type Errors in reproduction code
System information
The text was updated successfully, but these errors were encountered: