supabase / supabase-js

An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.
https://supabase.com
MIT License
2.86k stars 220 forks source link

fix: stop using unstable type params from postgrest-js #935

Closed soedirgo closed 4 months ago

soedirgo commented 4 months ago

We're currently duplicating passing the type params to postgrest-js classes - we may change the order and/or add new type params on the postgrest-js side, so the type params in supabase-js can get out of sync.

This also fixes the issue in this demo (users in data should be T[], not T | null).

github-actions[bot] commented 4 months ago

Pull Request Test Coverage Report for Build 7382975635


Totals Coverage Status
Change from base Build 7253131380: 0.5%
Covered Lines: 92
Relevant Lines: 119

💛 - Coveralls