-
Notifications
You must be signed in to change notification settings - Fork 0
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
Supabase v2 Types #2
Comments
Hey @drewbietron , Thanks for your comment. I also agree with this and would love to see it, but got very limited time right now. If anyone is up for it please feel free to contribute. |
@HermanNygaard - Looking at React Query support with this library. Once the nut is cracked it could be applied to the context types here 💪 - psteinroe/supabase-cache-helpers#57 (comment) |
@drewbietron I'm thinking to start looking into this now (and then moving to |
I have started integrating v2 here #3, mostly done |
Found this repo and found it very helpful, thank you for that!
This isn't an issue, but I was wondering if you've tried adapting this to the new v2 Supabase client? In particular the Typescript portion that's been added.
I'm able to get the table names typed.
But getting the .select or other methods to be typed, as well as type the return value of the
UseQueryResult
have been pretty difficult. Was wondering if you've had any luck with it.Supabase is doing some sort of TS voodoo to use the arguments passed to
.from
and it's a little over my head 🤯.Appreciate any insight and thanks for creating this repo!
The text was updated successfully, but these errors were encountered: