barrymichaeldoyle/supabase-react-query-codegen

Add support for React Query V5 (and potentially V4)

Opened this issue ยท 5 comments

When I created this I was using React Query V3, V4 obviously has different inputs, it would be nice to cater for V4 and future versions by generating specific code depending on what version is specified in the tools config.

I plan to try tackle this next weekend.

Sorry guys! I'm getting married in 2 weeks so I'll probably only get to this next month...

I really do need to get back to this ๐Ÿ˜… Sorry about the radio silence! I'm thinking going forward I'm going to change my versioning approach to not be backwards compatible with React Query versions. For V2 of this library I'll jump directly to Tanstack's React Query V5 exclusively, from there we can add backwards compatibility.

That would be great. Just about to embark on our TanStack journey here!

Looking forward to this