Skip to content
New issue

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

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

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

soedirgo
Copy link
Member

@soedirgo soedirgo commented Jan 2, 2024

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).

Copy link

github-actions bot commented Jan 2, 2024

Pull Request Test Coverage Report for Build 7382975635

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 65.877%

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

💛 - Coveralls

@soedirgo soedirgo force-pushed the feat/bump-postgrest-js branch from bff727c to 586b6a9 Compare January 2, 2024 06:35
@soedirgo soedirgo marked this pull request as ready for review January 2, 2024 07:02
Copy link
Contributor

@thorwebdev thorwebdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@soedirgo soedirgo merged commit 24daf10 into master Jan 2, 2024
1 check passed
@soedirgo soedirgo deleted the feat/bump-postgrest-js branch January 2, 2024 07:05
soedirgo added a commit that referenced this pull request Feb 19, 2024
Reverts #935. It's no longer
needed because we now pin the specific postgrest-js version, so the
out-of-sync issue mentioned in the PR can be avoided.
kamilogorek pushed a commit that referenced this pull request Feb 19, 2024
Reverts #935. It's no longer
needed because we now pin the specific postgrest-js version, so the
out-of-sync issue mentioned in the PR can be avoided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants