supabase-react-query-codegen icon indicating copy to clipboard operation
supabase-react-query-codegen copied to clipboard

Add support for React Query V5 (and potentially V4)

Open barrymichaeldoyle opened this issue 2 years ago • 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.

barrymichaeldoyle avatar Apr 25 '23 10:04 barrymichaeldoyle

I plan to try tackle this next weekend.

barrymichaeldoyle avatar May 01 '23 15:05 barrymichaeldoyle

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

barrymichaeldoyle avatar May 28 '23 03:05 barrymichaeldoyle

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.

barrymichaeldoyle avatar Oct 31 '23 08:10 barrymichaeldoyle

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

alaistair76 avatar Oct 31 '23 09:10 alaistair76

Looking forward to this

ducan-ne avatar Jun 30 '24 17:06 ducan-ne