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
I think the 3rd signature for the from method should be removed which currently allows using any table name inside the postgrest client:
from
postgrest-js/src/PostgrestClient.ts
Lines 59 to 66 in f730aa7
If anyone would like to allow calling from on unknown tables, they could still do it imho by adding an index signature to the schema eg.
type Database = { public: { Tables: { /* standard signatures go here */ // Allow any table name in from etc [key: string]: any; } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think the 3rd signature for the
from
method should be removed which currently allows using any table name inside the postgrest client:postgrest-js/src/PostgrestClient.ts
Lines 59 to 66 in f730aa7
Currently this makes it quite hard to catch errors when for example removing or renaming tables.
If anyone would like to allow calling from on unknown tables, they could still do it imho by adding an index signature to the schema eg.
The text was updated successfully, but these errors were encountered: